Skip to content

Commit

Permalink
Automated DCL import.
Browse files Browse the repository at this point in the history
  - bca060041b8452d164ad6ed3ed6d7429bf855600 Automatic import from cloud_mmv2_dcl_20220614_0931_RC00 by DCL Team <[email protected]>

GitOrigin-RevId: bca060041b8452d164ad6ed3ed6d7429bf855600
  • Loading branch information
DCL Team authored and copybara-github committed Jun 14, 2022
1 parent 67c61f2 commit 5ea2283
Show file tree
Hide file tree
Showing 1,177 changed files with 1,889 additions and 1,068 deletions.
1 change: 1 addition & 0 deletions dcl/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
1 change: 1 addition & 0 deletions services/google/apigee/alpha/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions services/google/apigee/alpha/environment_alpha_yaml_embed.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions services/google/apigee/alpha/environment_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit 5ea2283

Please sign in to comment.