google-cloud-beyond_corp-app_connectors-v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +144 -0
  6. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/client.rb +1049 -0
  7. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/credentials.rb +49 -0
  8. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/operations.rb +772 -0
  9. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/paths.rb +71 -0
  10. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service.rb +65 -0
  11. data/lib/google/cloud/beyond_corp/app_connectors/v1/version.rb +30 -0
  12. data/lib/google/cloud/beyond_corp/app_connectors/v1.rb +42 -0
  13. data/lib/google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config_pb.rb +45 -0
  14. data/lib/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service_pb.rb +117 -0
  15. data/lib/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service_services_pb.rb +70 -0
  16. data/lib/google/cloud/beyondcorp/appconnectors/v1/resource_info_pb.rb +40 -0
  17. data/lib/google-cloud-beyond_corp-app_connectors-v1.rb +21 -0
  18. data/proto_docs/README.md +4 -0
  19. data/proto_docs/google/api/field_behavior.rb +71 -0
  20. data/proto_docs/google/api/resource.rb +222 -0
  21. data/proto_docs/google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.rb +82 -0
  22. data/proto_docs/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.rb +341 -0
  23. data/proto_docs/google/cloud/beyondcorp/appconnectors/v1/resource_info.rb +78 -0
  24. data/proto_docs/google/longrunning/operations.rb +164 -0
  25. data/proto_docs/google/protobuf/any.rb +141 -0
  26. data/proto_docs/google/protobuf/duration.rb +98 -0
  27. data/proto_docs/google/protobuf/empty.rb +34 -0
  28. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  29. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  30. data/proto_docs/google/rpc/status.rb +46 -0
  31. data/proto_docs/google/type/expr.rb +75 -0
  32. metadata +264 -0
@@ -0,0 +1,222 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # A simple descriptor of a resource type.
23
+ #
24
+ # ResourceDescriptor annotates a resource message (either by means of a
25
+ # protobuf annotation or use in the service config), and associates the
26
+ # resource's schema, the resource type, and the pattern of the resource name.
27
+ #
28
+ # Example:
29
+ #
30
+ # message Topic {
31
+ # // Indicates this message defines a resource schema.
32
+ # // Declares the resource type in the format of {service}/{kind}.
33
+ # // For Kubernetes resources, the format is {api group}/{kind}.
34
+ # option (google.api.resource) = {
35
+ # type: "pubsub.googleapis.com/Topic"
36
+ # pattern: "projects/{project}/topics/{topic}"
37
+ # };
38
+ # }
39
+ #
40
+ # The ResourceDescriptor Yaml config will look like:
41
+ #
42
+ # resources:
43
+ # - type: "pubsub.googleapis.com/Topic"
44
+ # pattern: "projects/{project}/topics/{topic}"
45
+ #
46
+ # Sometimes, resources have multiple patterns, typically because they can
47
+ # live under multiple parents.
48
+ #
49
+ # Example:
50
+ #
51
+ # message LogEntry {
52
+ # option (google.api.resource) = {
53
+ # type: "logging.googleapis.com/LogEntry"
54
+ # pattern: "projects/{project}/logs/{log}"
55
+ # pattern: "folders/{folder}/logs/{log}"
56
+ # pattern: "organizations/{organization}/logs/{log}"
57
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
58
+ # };
59
+ # }
60
+ #
61
+ # The ResourceDescriptor Yaml config will look like:
62
+ #
63
+ # resources:
64
+ # - type: 'logging.googleapis.com/LogEntry'
65
+ # pattern: "projects/{project}/logs/{log}"
66
+ # pattern: "folders/{folder}/logs/{log}"
67
+ # pattern: "organizations/{organization}/logs/{log}"
68
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
69
+ # @!attribute [rw] type
70
+ # @return [::String]
71
+ # The resource type. It must be in the format of
72
+ # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
73
+ # singular and must not include version numbers.
74
+ #
75
+ # Example: `storage.googleapis.com/Bucket`
76
+ #
77
+ # The value of the resource_type_kind must follow the regular expression
78
+ # /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
79
+ # should use PascalCase (UpperCamelCase). The maximum number of
80
+ # characters allowed for the `resource_type_kind` is 100.
81
+ # @!attribute [rw] pattern
82
+ # @return [::Array<::String>]
83
+ # Optional. The relative resource name pattern associated with this resource
84
+ # type. The DNS prefix of the full resource name shouldn't be specified here.
85
+ #
86
+ # The path pattern must follow the syntax, which aligns with HTTP binding
87
+ # syntax:
88
+ #
89
+ # Template = Segment { "/" Segment } ;
90
+ # Segment = LITERAL | Variable ;
91
+ # Variable = "{" LITERAL "}" ;
92
+ #
93
+ # Examples:
94
+ #
95
+ # - "projects/\\{project}/topics/\\{topic}"
96
+ # - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
97
+ #
98
+ # The components in braces correspond to the IDs for each resource in the
99
+ # hierarchy. It is expected that, if multiple patterns are provided,
100
+ # the same component name (e.g. "project") refers to IDs of the same
101
+ # type of resource.
102
+ # @!attribute [rw] name_field
103
+ # @return [::String]
104
+ # Optional. The field on the resource that designates the resource name
105
+ # field. If omitted, this is assumed to be "name".
106
+ # @!attribute [rw] history
107
+ # @return [::Google::Api::ResourceDescriptor::History]
108
+ # Optional. The historical or future-looking state of the resource pattern.
109
+ #
110
+ # Example:
111
+ #
112
+ # // The InspectTemplate message originally only supported resource
113
+ # // names with organization, and project was added later.
114
+ # message InspectTemplate {
115
+ # option (google.api.resource) = {
116
+ # type: "dlp.googleapis.com/InspectTemplate"
117
+ # pattern:
118
+ # "organizations/{organization}/inspectTemplates/{inspect_template}"
119
+ # pattern: "projects/{project}/inspectTemplates/{inspect_template}"
120
+ # history: ORIGINALLY_SINGLE_PATTERN
121
+ # };
122
+ # }
123
+ # @!attribute [rw] plural
124
+ # @return [::String]
125
+ # The plural name used in the resource name and permission names, such as
126
+ # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
+ # concept of the `plural` field in k8s CRD spec
129
+ # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
+ #
131
+ # Note: The plural form is required even for singleton resources. See
132
+ # https://aip.dev/156
133
+ # @!attribute [rw] singular
134
+ # @return [::String]
135
+ # The same concept of the `singular` field in k8s CRD spec
136
+ # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
137
+ # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
138
+ # @!attribute [rw] style
139
+ # @return [::Array<::Google::Api::ResourceDescriptor::Style>]
140
+ # Style flag(s) for this resource.
141
+ # These indicate that a resource is expected to conform to a given
142
+ # style. See the specific style flags for additional information.
143
+ class ResourceDescriptor
144
+ include ::Google::Protobuf::MessageExts
145
+ extend ::Google::Protobuf::MessageExts::ClassMethods
146
+
147
+ # A description of the historical or future-looking state of the
148
+ # resource pattern.
149
+ module History
150
+ # The "unset" value.
151
+ HISTORY_UNSPECIFIED = 0
152
+
153
+ # The resource originally had one pattern and launched as such, and
154
+ # additional patterns were added later.
155
+ ORIGINALLY_SINGLE_PATTERN = 1
156
+
157
+ # The resource has one pattern, but the API owner expects to add more
158
+ # later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
159
+ # that from being necessary once there are multiple patterns.)
160
+ FUTURE_MULTI_PATTERN = 2
161
+ end
162
+
163
+ # A flag representing a specific style that a resource claims to conform to.
164
+ module Style
165
+ # The unspecified value. Do not use.
166
+ STYLE_UNSPECIFIED = 0
167
+
168
+ # This resource is intended to be "declarative-friendly".
169
+ #
170
+ # Declarative-friendly resources must be more strictly consistent, and
171
+ # setting this to true communicates to tools that this resource should
172
+ # adhere to declarative-friendly expectations.
173
+ #
174
+ # Note: This is used by the API linter (linter.aip.dev) to enable
175
+ # additional checks.
176
+ DECLARATIVE_FRIENDLY = 1
177
+ end
178
+ end
179
+
180
+ # Defines a proto annotation that describes a string field that refers to
181
+ # an API resource.
182
+ # @!attribute [rw] type
183
+ # @return [::String]
184
+ # The resource type that the annotated field references.
185
+ #
186
+ # Example:
187
+ #
188
+ # message Subscription {
189
+ # string topic = 2 [(google.api.resource_reference) = {
190
+ # type: "pubsub.googleapis.com/Topic"
191
+ # }];
192
+ # }
193
+ #
194
+ # Occasionally, a field may reference an arbitrary resource. In this case,
195
+ # APIs use the special value * in their resource reference.
196
+ #
197
+ # Example:
198
+ #
199
+ # message GetIamPolicyRequest {
200
+ # string resource = 2 [(google.api.resource_reference) = {
201
+ # type: "*"
202
+ # }];
203
+ # }
204
+ # @!attribute [rw] child_type
205
+ # @return [::String]
206
+ # The resource type of a child collection that the annotated field
207
+ # references. This is useful for annotating the `parent` field that
208
+ # doesn't have a fixed resource type.
209
+ #
210
+ # Example:
211
+ #
212
+ # message ListLogEntriesRequest {
213
+ # string parent = 1 [(google.api.resource_reference) = {
214
+ # child_type: "logging.googleapis.com/LogEntry"
215
+ # };
216
+ # }
217
+ class ResourceReference
218
+ include ::Google::Protobuf::MessageExts
219
+ extend ::Google::Protobuf::MessageExts::ClassMethods
220
+ end
221
+ end
222
+ end
@@ -0,0 +1,82 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module BeyondCorp
23
+ module AppConnectors
24
+ module V1
25
+ # AppConnectorInstanceConfig defines the instance config of a AppConnector.
26
+ # @!attribute [rw] sequence_number
27
+ # @return [::Integer]
28
+ # Required. A monotonically increasing number generated and maintained
29
+ # by the API provider. Every time a config changes in the backend, the
30
+ # sequenceNumber should be bumped up to reflect the change.
31
+ # @!attribute [rw] instance_config
32
+ # @return [::Google::Protobuf::Any]
33
+ # The SLM instance agent configuration.
34
+ # @!attribute [rw] notification_config
35
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::NotificationConfig]
36
+ # NotificationConfig defines the notification mechanism that the remote
37
+ # instance should subscribe to in order to receive notification.
38
+ # @!attribute [rw] image_config
39
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::ImageConfig]
40
+ # ImageConfig defines the GCR images to run for the remote agent's control
41
+ # plane.
42
+ class AppConnectorInstanceConfig
43
+ include ::Google::Protobuf::MessageExts
44
+ extend ::Google::Protobuf::MessageExts::ClassMethods
45
+ end
46
+
47
+ # NotificationConfig defines the mechanisms to notify instance agent.
48
+ # @!attribute [rw] pubsub_notification
49
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::NotificationConfig::CloudPubSubNotificationConfig]
50
+ # Cloud Pub/Sub Configuration to receive notifications.
51
+ class NotificationConfig
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+
55
+ # The configuration for Pub/Sub messaging for the AppConnector.
56
+ # @!attribute [rw] pubsub_subscription
57
+ # @return [::String]
58
+ # The Pub/Sub subscription the AppConnector uses to receive notifications.
59
+ class CloudPubSubNotificationConfig
60
+ include ::Google::Protobuf::MessageExts
61
+ extend ::Google::Protobuf::MessageExts::ClassMethods
62
+ end
63
+ end
64
+
65
+ # ImageConfig defines the control plane images to run.
66
+ # @!attribute [rw] target_image
67
+ # @return [::String]
68
+ # The initial image the remote agent will attempt to run for the control
69
+ # plane.
70
+ # @!attribute [rw] stable_image
71
+ # @return [::String]
72
+ # The stable image that the remote agent will fallback to if the target image
73
+ # fails.
74
+ class ImageConfig
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+ end
78
+ end
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,341 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module BeyondCorp
23
+ module AppConnectors
24
+ module V1
25
+ # Request message for BeyondCorp.ListAppConnectors.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The resource name of the AppConnector location using the form:
29
+ # `projects/{project_id}/locations/{location_id}`
30
+ # @!attribute [rw] page_size
31
+ # @return [::Integer]
32
+ # Optional. The maximum number of items to return.
33
+ # If not specified, a default value of 50 will be used by the service.
34
+ # Regardless of the page_size value, the response may include a partial list
35
+ # and a caller should only rely on response's
36
+ # [next_page_token][BeyondCorp.ListAppConnectorsResponse.next_page_token] to
37
+ # determine if there are more instances left to be queried.
38
+ # @!attribute [rw] page_token
39
+ # @return [::String]
40
+ # Optional. The next_page_token value returned from a previous
41
+ # ListAppConnectorsRequest, if any.
42
+ # @!attribute [rw] filter
43
+ # @return [::String]
44
+ # Optional. A filter specifying constraints of a list operation.
45
+ # @!attribute [rw] order_by
46
+ # @return [::String]
47
+ # Optional. Specifies the ordering of results. See
48
+ # [Sorting
49
+ # order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
50
+ # for more information.
51
+ class ListAppConnectorsRequest
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
56
+ # Response message for BeyondCorp.ListAppConnectors.
57
+ # @!attribute [rw] app_connectors
58
+ # @return [::Array<::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnector>]
59
+ # A list of BeyondCorp AppConnectors in the project.
60
+ # @!attribute [rw] next_page_token
61
+ # @return [::String]
62
+ # A token to retrieve the next page of results, or empty if there are no more
63
+ # results in the list.
64
+ # @!attribute [rw] unreachable
65
+ # @return [::Array<::String>]
66
+ # A list of locations that could not be reached.
67
+ class ListAppConnectorsResponse
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+
72
+ # Request message for BeyondCorp.GetAppConnector.
73
+ # @!attribute [rw] name
74
+ # @return [::String]
75
+ # Required. BeyondCorp AppConnector name using the form:
76
+ # `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`
77
+ class GetAppConnectorRequest
78
+ include ::Google::Protobuf::MessageExts
79
+ extend ::Google::Protobuf::MessageExts::ClassMethods
80
+ end
81
+
82
+ # Request message for BeyondCorp.CreateAppConnector.
83
+ # @!attribute [rw] parent
84
+ # @return [::String]
85
+ # Required. The resource project name of the AppConnector location using the
86
+ # form: `projects/{project_id}/locations/{location_id}`
87
+ # @!attribute [rw] app_connector_id
88
+ # @return [::String]
89
+ # Optional. User-settable AppConnector resource ID.
90
+ #
91
+ # * Must start with a letter.
92
+ # * Must contain between 4-63 characters from `/[a-z][0-9]-/`.
93
+ # * Must end with a number or a letter.
94
+ # @!attribute [rw] app_connector
95
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnector]
96
+ # Required. A BeyondCorp AppConnector resource.
97
+ # @!attribute [rw] request_id
98
+ # @return [::String]
99
+ # Optional. An optional request ID to identify requests. Specify a unique
100
+ # request ID so that if you must retry your request, the server will know to
101
+ # ignore the request if it has already been completed. The server will
102
+ # guarantee that for at least 60 minutes since the first request.
103
+ #
104
+ # For example, consider a situation where you make an initial request and t
105
+ # he request times out. If you make the request again with the same request
106
+ # ID, the server can check if original operation with the same request ID
107
+ # was received, and if so, will ignore the second request. This prevents
108
+ # clients from accidentally creating duplicate commitments.
109
+ #
110
+ # The request ID must be a valid UUID with the exception that zero UUID is
111
+ # not supported (00000000-0000-0000-0000-000000000000).
112
+ # @!attribute [rw] validate_only
113
+ # @return [::Boolean]
114
+ # Optional. If set, validates request by executing a dry-run which would not
115
+ # alter the resource in any way.
116
+ class CreateAppConnectorRequest
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+
121
+ # Request message for BeyondCorp.UpdateAppConnector.
122
+ # @!attribute [rw] update_mask
123
+ # @return [::Google::Protobuf::FieldMask]
124
+ # Required. Mask of fields to update. At least one path must be supplied in
125
+ # this field. The elements of the repeated paths field may only include these
126
+ # fields from [BeyondCorp.AppConnector]:
127
+ # * `labels`
128
+ # * `display_name`
129
+ # @!attribute [rw] app_connector
130
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnector]
131
+ # Required. AppConnector message with updated fields. Only supported fields
132
+ # specified in update_mask are updated.
133
+ # @!attribute [rw] request_id
134
+ # @return [::String]
135
+ # Optional. An optional request ID to identify requests. Specify a unique
136
+ # request ID so that if you must retry your request, the server will know to
137
+ # ignore the request if it has already been completed. The server will
138
+ # guarantee that for at least 60 minutes since the first request.
139
+ #
140
+ # For example, consider a situation where you make an initial request and t
141
+ # he request times out. If you make the request again with the same request
142
+ # ID, the server can check if original operation with the same request ID
143
+ # was received, and if so, will ignore the second request. This prevents
144
+ # clients from accidentally creating duplicate commitments.
145
+ #
146
+ # The request ID must be a valid UUID with the exception that zero UUID is
147
+ # not supported (00000000-0000-0000-0000-000000000000).
148
+ # @!attribute [rw] validate_only
149
+ # @return [::Boolean]
150
+ # Optional. If set, validates request by executing a dry-run which would not
151
+ # alter the resource in any way.
152
+ class UpdateAppConnectorRequest
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
+ end
156
+
157
+ # Request message for BeyondCorp.DeleteAppConnector.
158
+ # @!attribute [rw] name
159
+ # @return [::String]
160
+ # Required. BeyondCorp AppConnector name using the form:
161
+ # `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`
162
+ # @!attribute [rw] request_id
163
+ # @return [::String]
164
+ # Optional. An optional request ID to identify requests. Specify a unique
165
+ # request ID so that if you must retry your request, the server will know to
166
+ # ignore the request if it has already been completed. The server will
167
+ # guarantee that for at least 60 minutes after the first request.
168
+ #
169
+ # For example, consider a situation where you make an initial request and t
170
+ # he request times out. If you make the request again with the same request
171
+ # ID, the server can check if original operation with the same request ID
172
+ # was received, and if so, will ignore the second request. This prevents
173
+ # clients from accidentally creating duplicate commitments.
174
+ #
175
+ # The request ID must be a valid UUID with the exception that zero UUID is
176
+ # not supported (00000000-0000-0000-0000-000000000000).
177
+ # @!attribute [rw] validate_only
178
+ # @return [::Boolean]
179
+ # Optional. If set, validates request by executing a dry-run which would not
180
+ # alter the resource in any way.
181
+ class DeleteAppConnectorRequest
182
+ include ::Google::Protobuf::MessageExts
183
+ extend ::Google::Protobuf::MessageExts::ClassMethods
184
+ end
185
+
186
+ # Request report the connector status.
187
+ # @!attribute [rw] app_connector
188
+ # @return [::String]
189
+ # Required. BeyondCorp Connector name using the form:
190
+ # `projects/{project_id}/locations/{location_id}/connectors/{connector}`
191
+ # @!attribute [rw] resource_info
192
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo]
193
+ # Required. Resource info of the connector.
194
+ # @!attribute [rw] request_id
195
+ # @return [::String]
196
+ # Optional. An optional request ID to identify requests. Specify a unique
197
+ # request ID so that if you must retry your request, the server will know to
198
+ # ignore the request if it has already been completed. The server will
199
+ # guarantee that for at least 60 minutes since the first request.
200
+ #
201
+ # For example, consider a situation where you make an initial request and t
202
+ # he request times out. If you make the request again with the same request
203
+ # ID, the server can check if original operation with the same request ID
204
+ # was received, and if so, will ignore the second request. This prevents
205
+ # clients from accidentally creating duplicate commitments.
206
+ #
207
+ # The request ID must be a valid UUID with the exception that zero UUID is
208
+ # not supported (00000000-0000-0000-0000-000000000000).
209
+ # @!attribute [rw] validate_only
210
+ # @return [::Boolean]
211
+ # Optional. If set, validates request by executing a dry-run which would not
212
+ # alter the resource in any way.
213
+ class ReportStatusRequest
214
+ include ::Google::Protobuf::MessageExts
215
+ extend ::Google::Protobuf::MessageExts::ClassMethods
216
+ end
217
+
218
+ # A BeyondCorp connector resource that represents an application facing
219
+ # component deployed proximal to and with direct access to the application
220
+ # instances. It is used to establish connectivity between the remote enterprise
221
+ # environment and GCP. It initiates connections to the applications and can
222
+ # proxy the data from users over the connection.
223
+ # @!attribute [rw] name
224
+ # @return [::String]
225
+ # Required. Unique resource name of the AppConnector.
226
+ # The name is ignored when creating a AppConnector.
227
+ # @!attribute [r] create_time
228
+ # @return [::Google::Protobuf::Timestamp]
229
+ # Output only. Timestamp when the resource was created.
230
+ # @!attribute [r] update_time
231
+ # @return [::Google::Protobuf::Timestamp]
232
+ # Output only. Timestamp when the resource was last modified.
233
+ # @!attribute [rw] labels
234
+ # @return [::Google::Protobuf::Map{::String => ::String}]
235
+ # Optional. Resource labels to represent user provided metadata.
236
+ # @!attribute [rw] display_name
237
+ # @return [::String]
238
+ # Optional. An arbitrary user-provided name for the AppConnector. Cannot
239
+ # exceed 64 characters.
240
+ # @!attribute [r] uid
241
+ # @return [::String]
242
+ # Output only. A unique identifier for the instance generated by the
243
+ # system.
244
+ # @!attribute [r] state
245
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnector::State]
246
+ # Output only. The current state of the AppConnector.
247
+ # @!attribute [rw] principal_info
248
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnector::PrincipalInfo]
249
+ # Required. Principal information about the Identity of the AppConnector.
250
+ # @!attribute [rw] resource_info
251
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::ResourceInfo]
252
+ # Optional. Resource info of the connector.
253
+ class AppConnector
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+
257
+ # PrincipalInfo represents an Identity oneof.
258
+ # @!attribute [rw] service_account
259
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnector::PrincipalInfo::ServiceAccount]
260
+ # A GCP service account.
261
+ class PrincipalInfo
262
+ include ::Google::Protobuf::MessageExts
263
+ extend ::Google::Protobuf::MessageExts::ClassMethods
264
+
265
+ # ServiceAccount represents a GCP service account.
266
+ # @!attribute [rw] email
267
+ # @return [::String]
268
+ # Email address of the service account.
269
+ class ServiceAccount
270
+ include ::Google::Protobuf::MessageExts
271
+ extend ::Google::Protobuf::MessageExts::ClassMethods
272
+ end
273
+ end
274
+
275
+ # @!attribute [rw] key
276
+ # @return [::String]
277
+ # @!attribute [rw] value
278
+ # @return [::String]
279
+ class LabelsEntry
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+
284
+ # Represents the different states of a AppConnector.
285
+ module State
286
+ # Default value. This value is unused.
287
+ STATE_UNSPECIFIED = 0
288
+
289
+ # AppConnector is being created.
290
+ CREATING = 1
291
+
292
+ # AppConnector has been created.
293
+ CREATED = 2
294
+
295
+ # AppConnector's configuration is being updated.
296
+ UPDATING = 3
297
+
298
+ # AppConnector is being deleted.
299
+ DELETING = 4
300
+
301
+ # AppConnector is down and may be restored in the future.
302
+ # This happens when CCFE sends ProjectState = OFF.
303
+ DOWN = 5
304
+ end
305
+ end
306
+
307
+ # Represents the metadata of the long-running operation.
308
+ # @!attribute [r] create_time
309
+ # @return [::Google::Protobuf::Timestamp]
310
+ # Output only. The time the operation was created.
311
+ # @!attribute [r] end_time
312
+ # @return [::Google::Protobuf::Timestamp]
313
+ # Output only. The time the operation finished running.
314
+ # @!attribute [r] target
315
+ # @return [::String]
316
+ # Output only. Server-defined resource path for the target of the operation.
317
+ # @!attribute [r] verb
318
+ # @return [::String]
319
+ # Output only. Name of the verb executed by the operation.
320
+ # @!attribute [r] status_message
321
+ # @return [::String]
322
+ # Output only. Human-readable status of the operation, if any.
323
+ # @!attribute [r] requested_cancellation
324
+ # @return [::Boolean]
325
+ # Output only. Identifies whether the user has requested cancellation
326
+ # of the operation. Operations that have successfully been cancelled
327
+ # have [Operation.error][] value with a
328
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
329
+ # `Code.CANCELLED`.
330
+ # @!attribute [r] api_version
331
+ # @return [::String]
332
+ # Output only. API version used to start the operation.
333
+ class AppConnectorOperationMetadata
334
+ include ::Google::Protobuf::MessageExts
335
+ extend ::Google::Protobuf::MessageExts::ClassMethods
336
+ end
337
+ end
338
+ end
339
+ end
340
+ end
341
+ end