/
channel_alpha_yaml_embed.go
executable file
·23 lines (20 loc) · 6.08 KB
/
channel_alpha_yaml_embed.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2024 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// GENERATED BY gen_go_data.go
// gen_go_data -package alpha -var YAML_channel blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/eventarc/alpha/channel.yaml
package alpha
// blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/eventarc/alpha/channel.yaml
var YAML_channel = []byte("info:\n title: Eventarc/Channel\n description: The Eventarc Channel resource\n x-dcl-struct-name: Channel\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Channel\n parameters:\n - name: channel\n required: true\n description: A full instance of a Channel\n apply:\n description: The function used to apply information about a Channel\n parameters:\n - name: channel\n required: true\n description: A full instance of a Channel\n delete:\n description: The function used to delete a Channel\n parameters:\n - name: channel\n required: true\n description: A full instance of a Channel\n deleteAll:\n description: The function used to delete all Channel\n 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 Channel\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 Channel:\n title: Channel\n x-dcl-id: projects/{{project}}/locations/{{location}}/channels/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - project\n - location\n properties:\n activationToken:\n type: string\n x-dcl-go-name: ActivationToken\n readOnly: true\n description: Output only. The activation token for the channel. The token\n must be used by the provider to register the channel for publishing.\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 creation time.\n x-kubernetes-immutable: true\n cryptoKeyName:\n type: string\n x-dcl-go-name: CryptoKeyName\n description: Optional. Resource name of a KMS crypto key (managed by the\n user) used to encrypt/decrypt their event data. It must match the pattern\n `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n x-dcl-references:\n - resource: Cloudkms/CryptoKey\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 x-dcl-parameter: true\n name:\n type: string\n x-dcl-go-name: Name\n description: Required. The resource name of the channel. Must be unique\n within the location on the project.\n x-kubernetes-immutable: true\n x-dcl-has-long-form: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The 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-parameter: true\n pubsubTopic:\n type: string\n x-dcl-go-name: PubsubTopic\n readOnly: true\n description: 'Output only. The name of the Pub/Sub topic created and managed\n by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ChannelStateEnum\n readOnly: true\n description: 'Output only. The state of a Channel. Possible values: STATE_UNSPECIFIED,\n PENDING, ACTIVE, INACTIVE'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PENDING\n - ACTIVE\n - INACTIVE\n thirdPartyProvider:\n type: string\n x-dcl-go-name: ThirdPartyProvider\n description: 'The name of the event provider (e.g. Eventarc SaaS partner)\n associated with the channel. This provider will be granted permissions\n to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.'\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. Server assigned unique identifier for the channel.\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")
// 5087 bytes
// MD5: 3611dec25589d077dbdeec1d11675dac