google-cloud-beyond_corp-app_connectors-v1 0.13.0 → 0.14.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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/README.md +3 -6
  4. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/client.rb +125 -11
  5. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/credentials.rb +1 -1
  6. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/operations.rb +1 -1
  7. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service/paths.rb +1 -1
  8. data/lib/google/cloud/beyond_corp/app_connectors/v1/app_connectors_service.rb +7 -1
  9. data/lib/google/cloud/beyond_corp/app_connectors/v1/version.rb +1 -1
  10. data/lib/google/cloud/beyond_corp/app_connectors/v1.rb +1 -1
  11. data/lib/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service_pb.rb +4 -1
  12. data/lib/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service_services_pb.rb +8 -1
  13. data/lib/google/cloud/beyondcorp/appconnectors/v1/resource_info_pb.rb +3 -1
  14. data/lib/google-cloud-beyond_corp-app_connectors-v1.rb +1 -1
  15. data/proto_docs/README.md +1 -1
  16. data/proto_docs/google/api/client.rb +1 -1
  17. data/proto_docs/google/api/field_behavior.rb +1 -1
  18. data/proto_docs/google/api/launch_stage.rb +1 -1
  19. data/proto_docs/google/api/resource.rb +1 -1
  20. data/proto_docs/google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.rb +5 -3
  21. data/proto_docs/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.rb +34 -14
  22. data/proto_docs/google/cloud/beyondcorp/appconnectors/v1/resource_info.rb +39 -11
  23. data/proto_docs/google/longrunning/operations.rb +1 -1
  24. data/proto_docs/google/protobuf/any.rb +1 -1
  25. data/proto_docs/google/protobuf/duration.rb +1 -1
  26. data/proto_docs/google/protobuf/empty.rb +1 -1
  27. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  28. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  29. data/proto_docs/google/rpc/status.rb +1 -1
  30. metadata +11 -10
  31. data/proto_docs/google/type/expr.rb +0 -75
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32f01bae522a723d28e03b2b0d0e3c993534ddeb8dd146a3ce3557226ceecc9e
4
- data.tar.gz: 64e3d08cc56303803309834e8f2b316cc8324563f450149c90410bed14997841
3
+ metadata.gz: 14d2cf2cdea3f1ca3b7aa1f105c001673f95d4972da336ac1c2064b1c25e9718
4
+ data.tar.gz: b2fa7a02a933571c0e36ec7dcfe58616bb1023d70a43a4d355c810366d76944e
5
5
  SHA512:
6
- metadata.gz: 40fd2206178e42b5bcda16dd68635b423923a9ea88470318a15635d3154a71de2595d902087ad4689a90d6d1d578cf4bf933a6e783236334117ec457b62d0d8e
7
- data.tar.gz: cc478cf7148e394ea5decc5951b8628c6a782c1bb29ebe2c124e53417df30094a8ad01dc3897157f7e2d6b7ed053824ea775a73b840a80d5ab2699ba5ea97b5c
6
+ metadata.gz: c7fa472353059d633ade43edbfe1d692c794ef1137650ee1d19f23f7b8ae584b1674260d46e72bca94500b6289918f6e2f87276fc3324f341b11379d1bd6e70c
7
+ data.tar.gz: 0bee8684587c970e3220b73e88e9ad33babb35894cb7bb0e54b47ad64cf3a2cfa3a07724611e902efba51266dcde4f627e228a2eae27b9db54bc96cc416b786d
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title="BeyondCorp AppConnectors V1 API"
2
+ --title="BeyondCorp V1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # Ruby Client for the BeyondCorp AppConnectors V1 API
1
+ # Ruby Client for the BeyondCorp V1 API
2
2
 
3
- Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
3
+ Chrome Enterprise Premium is a secure enterprise browsing solution that provides secure access to applications and resources, and offers integrated threat and data protection. It adds an extra layer of security to safeguard your Chrome browser environment, including Data Loss Prevention (DLP), real-time URL and file scanning, and Context-Aware Access for SaaS and web apps.
4
4
 
5
5
 
6
6
  https://github.com/googleapis/google-cloud-ruby
7
7
 
8
8
  This gem is a _versioned_ client. It provides basic client classes for a
9
- specific version of the BeyondCorp AppConnectors V1 API. Most users should consider using
9
+ specific version of the BeyondCorp V1 API. Most users should consider using
10
10
  the main client gem,
11
11
  [google-cloud-beyond_corp](https://rubygems.org/gems/google-cloud-beyond_corp).
12
12
  See the section below titled *Which client should I use?* for more information.
@@ -39,9 +39,6 @@ response = client.list_app_connectors request
39
39
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-beyond_corp-app_connectors-v1/latest)
40
40
  for class and method documentation.
41
41
 
42
- See also the [Product Documentation](https://cloud.google.com/beyondcorp/)
43
- for general usage information.
44
-
45
42
  ## Debug Logging
46
43
 
47
44
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -45,6 +45,10 @@ module Google
45
45
  # The AppConnectorsService provides methods to manage
46
46
  # (create/read/update/delete) BeyondCorp AppConnectors.
47
47
  #
48
+ #
49
+ # Deprecated: App Connector is deprecated and creation of new App Connector
50
+ # resources is no longer permitted. Use Security Gateway instead.
51
+ #
48
52
  class Client
49
53
  # @private
50
54
  API_VERSION = ""
@@ -63,6 +67,8 @@ module Google
63
67
  # See {::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnectorsService::Client::Configuration}
64
68
  # for a description of the configuration fields.
65
69
  #
70
+ # @deprecated This service is deprecated and may be removed in the next major version update.
71
+ #
66
72
  # @example
67
73
  #
68
74
  # # Modify the configuration for all AppConnectorsService clients
@@ -246,6 +252,8 @@ module Google
246
252
  ##
247
253
  # Lists AppConnectors in a given project and location.
248
254
  #
255
+ # @deprecated This method is deprecated and may be removed in the next major version update.
256
+ #
249
257
  # @overload list_app_connectors(request, options = nil)
250
258
  # Pass arguments to `list_app_connectors` via a request object, either of type
251
259
  # {::Google::Cloud::BeyondCorp::AppConnectors::V1::ListAppConnectorsRequest} or an equivalent Hash.
@@ -269,8 +277,8 @@ module Google
269
277
  # If not specified, a default value of 50 will be used by the service.
270
278
  # Regardless of the page_size value, the response may include a partial list
271
279
  # and a caller should only rely on response's
272
- # [next_page_token][BeyondCorp.ListAppConnectorsResponse.next_page_token] to
273
- # determine if there are more instances left to be queried.
280
+ # {::Google::Cloud::BeyondCorp::AppConnectors::V1::ListAppConnectorsResponse#next_page_token next_page_token}
281
+ # to determine if there are more instances left to be queried.
274
282
  # @param page_token [::String]
275
283
  # Optional. The next_page_token value returned from a previous
276
284
  # ListAppConnectorsRequest, if any.
@@ -355,6 +363,8 @@ module Google
355
363
  ##
356
364
  # Gets details of a single AppConnector.
357
365
  #
366
+ # @deprecated This method is deprecated and may be removed in the next major version update.
367
+ #
358
368
  # @overload get_app_connector(request, options = nil)
359
369
  # Pass arguments to `get_app_connector` via a request object, either of type
360
370
  # {::Google::Cloud::BeyondCorp::AppConnectors::V1::GetAppConnectorRequest} or an equivalent Hash.
@@ -441,6 +451,8 @@ module Google
441
451
  ##
442
452
  # Creates a new AppConnector in a given project and location.
443
453
  #
454
+ # @deprecated This method is deprecated and may be removed in the next major version update.
455
+ #
444
456
  # @overload create_app_connector(request, options = nil)
445
457
  # Pass arguments to `create_app_connector` via a request object, either of type
446
458
  # {::Google::Cloud::BeyondCorp::AppConnectors::V1::CreateAppConnectorRequest} or an equivalent Hash.
@@ -473,8 +485,8 @@ module Google
473
485
  # ignore the request if it has already been completed. The server will
474
486
  # guarantee that for at least 60 minutes since the first request.
475
487
  #
476
- # For example, consider a situation where you make an initial request and t
477
- # he request times out. If you make the request again with the same request
488
+ # For example, consider a situation where you make an initial request and
489
+ # the request times out. If you make the request again with the same request
478
490
  # ID, the server can check if original operation with the same request ID
479
491
  # was received, and if so, will ignore the second request. This prevents
480
492
  # clients from accidentally creating duplicate commitments.
@@ -561,6 +573,8 @@ module Google
561
573
  ##
562
574
  # Updates the parameters of a single AppConnector.
563
575
  #
576
+ # @deprecated This method is deprecated and may be removed in the next major version update.
577
+ #
564
578
  # @overload update_app_connector(request, options = nil)
565
579
  # Pass arguments to `update_app_connector` via a request object, either of type
566
580
  # {::Google::Cloud::BeyondCorp::AppConnectors::V1::UpdateAppConnectorRequest} or an equivalent Hash.
@@ -591,8 +605,8 @@ module Google
591
605
  # ignore the request if it has already been completed. The server will
592
606
  # guarantee that for at least 60 minutes since the first request.
593
607
  #
594
- # For example, consider a situation where you make an initial request and t
595
- # he request times out. If you make the request again with the same request
608
+ # For example, consider a situation where you make an initial request and
609
+ # the request times out. If you make the request again with the same request
596
610
  # ID, the server can check if original operation with the same request ID
597
611
  # was received, and if so, will ignore the second request. This prevents
598
612
  # clients from accidentally creating duplicate commitments.
@@ -679,6 +693,8 @@ module Google
679
693
  ##
680
694
  # Deletes a single AppConnector.
681
695
  #
696
+ # @deprecated This method is deprecated and may be removed in the next major version update.
697
+ #
682
698
  # @overload delete_app_connector(request, options = nil)
683
699
  # Pass arguments to `delete_app_connector` via a request object, either of type
684
700
  # {::Google::Cloud::BeyondCorp::AppConnectors::V1::DeleteAppConnectorRequest} or an equivalent Hash.
@@ -703,8 +719,8 @@ module Google
703
719
  # ignore the request if it has already been completed. The server will
704
720
  # guarantee that for at least 60 minutes after the first request.
705
721
  #
706
- # For example, consider a situation where you make an initial request and t
707
- # he request times out. If you make the request again with the same request
722
+ # For example, consider a situation where you make an initial request and
723
+ # the request times out. If you make the request again with the same request
708
724
  # ID, the server can check if original operation with the same request ID
709
725
  # was received, and if so, will ignore the second request. This prevents
710
726
  # clients from accidentally creating duplicate commitments.
@@ -788,9 +804,100 @@ module Google
788
804
  raise ::Google::Cloud::Error.from_error(e)
789
805
  end
790
806
 
807
+ ##
808
+ # Gets instance configuration for a given AppConnector.
809
+ # An internal method called by a AppConnector to get its container config.
810
+ #
811
+ # @deprecated This method is deprecated and may be removed in the next major version update.
812
+ #
813
+ # @overload resolve_instance_config(request, options = nil)
814
+ # Pass arguments to `resolve_instance_config` via a request object, either of type
815
+ # {::Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigRequest} or an equivalent Hash.
816
+ #
817
+ # @param request [::Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigRequest, ::Hash]
818
+ # A request object representing the call parameters. Required. To specify no
819
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
820
+ # @param options [::Gapic::CallOptions, ::Hash]
821
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
822
+ #
823
+ # @overload resolve_instance_config(app_connector: nil)
824
+ # Pass arguments to `resolve_instance_config` via keyword arguments. Note that at
825
+ # least one keyword argument is required. To specify no parameters, or to keep all
826
+ # the default parameter values, pass an empty Hash as a request object (see above).
827
+ #
828
+ # @param app_connector [::String]
829
+ # Required. BeyondCorp AppConnector name using the form:
830
+ # `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector}`
831
+ #
832
+ # @yield [response, operation] Access the result along with the RPC operation
833
+ # @yieldparam response [::Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigResponse]
834
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
835
+ #
836
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigResponse]
837
+ #
838
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
839
+ #
840
+ # @example Basic example
841
+ # require "google/cloud/beyond_corp/app_connectors/v1"
842
+ #
843
+ # # Create a client object. The client can be reused for multiple calls.
844
+ # client = Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnectorsService::Client.new
845
+ #
846
+ # # Create a request. To set request fields, pass in keyword arguments.
847
+ # request = Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigRequest.new
848
+ #
849
+ # # Call the resolve_instance_config method.
850
+ # result = client.resolve_instance_config request
851
+ #
852
+ # # The returned object is of type Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigResponse.
853
+ # p result
854
+ #
855
+ def resolve_instance_config request, options = nil
856
+ raise ::ArgumentError, "request must be provided" if request.nil?
857
+
858
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigRequest
859
+
860
+ # Converts hash and nil to an options object
861
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
862
+
863
+ # Customize the options with defaults
864
+ metadata = @config.rpcs.resolve_instance_config.metadata.to_h
865
+
866
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
867
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
868
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
869
+ gapic_version: ::Google::Cloud::BeyondCorp::AppConnectors::V1::VERSION
870
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
871
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
872
+
873
+ header_params = {}
874
+ if request.app_connector
875
+ header_params["app_connector"] = request.app_connector
876
+ end
877
+
878
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
879
+ metadata[:"x-goog-request-params"] ||= request_params_header
880
+
881
+ options.apply_defaults timeout: @config.rpcs.resolve_instance_config.timeout,
882
+ metadata: metadata,
883
+ retry_policy: @config.rpcs.resolve_instance_config.retry_policy
884
+
885
+ options.apply_defaults timeout: @config.timeout,
886
+ metadata: @config.metadata,
887
+ retry_policy: @config.retry_policy
888
+
889
+ @app_connectors_service_stub.call_rpc :resolve_instance_config, request, options: options do |response, operation|
890
+ yield response, operation if block_given?
891
+ end
892
+ rescue ::GRPC::BadStatus => e
893
+ raise ::Google::Cloud::Error.from_error(e)
894
+ end
895
+
791
896
  ##
792
897
  # Report status for a given connector.
793
898
  #
899
+ # @deprecated This method is deprecated and may be removed in the next major version update.
900
+ #
794
901
  # @overload report_status(request, options = nil)
795
902
  # Pass arguments to `report_status` via a request object, either of type
796
903
  # {::Google::Cloud::BeyondCorp::AppConnectors::V1::ReportStatusRequest} or an equivalent Hash.
@@ -817,8 +924,8 @@ module Google
817
924
  # ignore the request if it has already been completed. The server will
818
925
  # guarantee that for at least 60 minutes since the first request.
819
926
  #
820
- # For example, consider a situation where you make an initial request and t
821
- # he request times out. If you make the request again with the same request
927
+ # For example, consider a situation where you make an initial request and
928
+ # the request times out. If you make the request again with the same request
822
929
  # ID, the server can check if original operation with the same request ID
823
930
  # was received, and if so, will ignore the second request. This prevents
824
931
  # clients from accidentally creating duplicate commitments.
@@ -1113,6 +1220,11 @@ module Google
1113
1220
  #
1114
1221
  attr_reader :delete_app_connector
1115
1222
  ##
1223
+ # RPC-specific configuration for `resolve_instance_config`
1224
+ # @return [::Gapic::Config::Method]
1225
+ #
1226
+ attr_reader :resolve_instance_config
1227
+ ##
1116
1228
  # RPC-specific configuration for `report_status`
1117
1229
  # @return [::Gapic::Config::Method]
1118
1230
  #
@@ -1130,6 +1242,8 @@ module Google
1130
1242
  @update_app_connector = ::Gapic::Config::Method.new update_app_connector_config
1131
1243
  delete_app_connector_config = parent_rpcs.delete_app_connector if parent_rpcs.respond_to? :delete_app_connector
1132
1244
  @delete_app_connector = ::Gapic::Config::Method.new delete_app_connector_config
1245
+ resolve_instance_config_config = parent_rpcs.resolve_instance_config if parent_rpcs.respond_to? :resolve_instance_config
1246
+ @resolve_instance_config = ::Gapic::Config::Method.new resolve_instance_config_config
1133
1247
  report_status_config = parent_rpcs.report_status if parent_rpcs.respond_to? :report_status
1134
1248
  @report_status = ::Gapic::Config::Method.new report_status_config
1135
1249
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -48,6 +48,12 @@ module Google
48
48
  # The AppConnectorsService provides methods to manage
49
49
  # (create/read/update/delete) BeyondCorp AppConnectors.
50
50
  #
51
+ #
52
+ # Deprecated: App Connector is deprecated and creation of new App Connector
53
+ # resources is no longer permitted. Use Security Gateway instead.
54
+ #
55
+ # @deprecated This service is deprecated and may be removed in the next major version update.
56
+ #
51
57
  # @example Load this service and instantiate a gRPC client
52
58
  #
53
59
  # require "google/cloud/beyond_corp/app_connectors/v1/app_connectors_service"
@@ -22,7 +22,7 @@ module Google
22
22
  module BeyondCorp
23
23
  module AppConnectors
24
24
  module V1
25
- VERSION = "0.13.0"
25
+ VERSION = "0.14.0"
26
26
  end
27
27
  end
28
28
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -11,11 +11,12 @@ require 'google/api/resource_pb'
11
11
  require 'google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config_pb'
12
12
  require 'google/cloud/beyondcorp/appconnectors/v1/resource_info_pb'
13
13
  require 'google/longrunning/operations_pb'
14
+ require 'google/protobuf/empty_pb'
14
15
  require 'google/protobuf/field_mask_pb'
15
16
  require 'google/protobuf/timestamp_pb'
16
17
 
17
18
 
18
- descriptor_data = "\nEgoogle/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto\x12(google.cloud.beyondcorp.appconnectors.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1aLgoogle/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.proto\x1a<google/cloud/beyondcorp/appconnectors/v1/resource_info.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x18ListAppConnectorsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&beyondcorp.googleapis.com/AppConnector\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x99\x01\n\x19ListAppConnectorsResponse\x12N\n\x0e\x61pp_connectors\x18\x01 \x03(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"V\n\x16GetAppConnectorRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&beyondcorp.googleapis.com/AppConnector\"\x83\x02\n\x19\x43reateAppConnectorRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&beyondcorp.googleapis.com/AppConnector\x12\x1d\n\x10\x61pp_connector_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12R\n\rapp_connector\x18\x03 \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xda\x01\n\x19UpdateAppConnectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12R\n\rapp_connector\x18\x02 \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x8e\x01\n\x19\x44\x65leteAppConnectorRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&beyondcorp.googleapis.com/AppConnector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xe5\x01\n\x13ReportStatusRequest\x12\x45\n\rapp_connector\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&beyondcorp.googleapis.com/AppConnector\x12R\n\rresource_info\x18\x02 \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.ResourceInfoB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xcb\x07\n\x0c\x41ppConnector\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12W\n\x06labels\x18\x04 \x03(\x0b\x32\x42.google.cloud.beyondcorp.appconnectors.v1.AppConnector.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12P\n\x05state\x18\x07 \x01(\x0e\x32<.google.cloud.beyondcorp.appconnectors.v1.AppConnector.StateB\x03\xe0\x41\x03\x12\x61\n\x0eprincipal_info\x18\x08 \x01(\x0b\x32\x44.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfoB\x03\xe0\x41\x02\x12R\n\rresource_info\x18\x0b \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.ResourceInfoB\x03\xe0\x41\x01\x1a\xa8\x01\n\rPrincipalInfo\x12n\n\x0fservice_account\x18\x01 \x01(\x0b\x32S.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccountH\x00\x1a\x1f\n\x0eServiceAccount\x12\r\n\x05\x65mail\x18\x01 \x01(\tB\x06\n\x04type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05:r\xea\x41o\n&beyondcorp.googleapis.com/AppConnector\x12\x45projects/{project}/locations/{location}/appConnectors/{app_connector}\"\x8c\x02\n\x1d\x41ppConnectorOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xde\x0c\n\x14\x41ppConnectorsService\x12\xe0\x01\n\x11ListAppConnectors\x12\x42.google.cloud.beyondcorp.appconnectors.v1.ListAppConnectorsRequest\x1a\x43.google.cloud.beyondcorp.appconnectors.v1.ListAppConnectorsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/appConnectors\x12\xcd\x01\n\x0fGetAppConnector\x12@.google.cloud.beyondcorp.appconnectors.v1.GetAppConnectorRequest\x1a\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnector\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/appConnectors/*}\x12\x9b\x02\n\x12\x43reateAppConnector\x12\x43.google.cloud.beyondcorp.appconnectors.v1.CreateAppConnectorRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\xca\x41-\n\x0c\x41ppConnector\x12\x1d\x41ppConnectorOperationMetadata\xda\x41%parent,app_connector,app_connector_id\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/appConnectors:\rapp_connector\x12\x9d\x02\n\x12UpdateAppConnector\x12\x43.google.cloud.beyondcorp.appconnectors.v1.UpdateAppConnectorRequest\x1a\x1d.google.longrunning.Operation\"\xa2\x01\xca\x41-\n\x0c\x41ppConnector\x12\x1d\x41ppConnectorOperationMetadata\xda\x41\x19\x61pp_connector,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{app_connector.name=projects/*/locations/*/appConnectors/*}:\rapp_connector\x12\xf3\x01\n\x12\x44\x65leteAppConnector\x12\x43.google.cloud.beyondcorp.appconnectors.v1.DeleteAppConnectorRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x36\n\x15google.protobuf.Empty\x12\x1d\x41ppConnectorOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/appConnectors/*}\x12\x8f\x02\n\x0cReportStatus\x12=.google.cloud.beyondcorp.appconnectors.v1.ReportStatusRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\xca\x41-\n\x0c\x41ppConnector\x12\x1d\x41ppConnectorOperationMetadata\xda\x41\x1b\x61pp_connector,resource_info\x82\xd3\xe4\x93\x02L\"G/v1/{app_connector=projects/*/locations/*/appConnectors/*}:reportStatus:\x01*\x1aM\xca\x41\x19\x62\x65yondcorp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa4\x02\n,com.google.cloud.beyondcorp.appconnectors.v1B\x19\x41ppConnectorsServiceProtoP\x01ZRcloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb;appconnectorspb\xaa\x02(Google.Cloud.BeyondCorp.AppConnectors.V1\xca\x02(Google\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02,Google::Cloud::BeyondCorp::AppConnectors::V1b\x06proto3"
19
+ descriptor_data = "\nEgoogle/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto\x12(google.cloud.beyondcorp.appconnectors.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1aLgoogle/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.proto\x1a<google/cloud/beyondcorp/appconnectors/v1/resource_info.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x18ListAppConnectorsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&beyondcorp.googleapis.com/AppConnector\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x99\x01\n\x19ListAppConnectorsResponse\x12N\n\x0e\x61pp_connectors\x18\x01 \x03(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"V\n\x16GetAppConnectorRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&beyondcorp.googleapis.com/AppConnector\"\x83\x02\n\x19\x43reateAppConnectorRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&beyondcorp.googleapis.com/AppConnector\x12\x1d\n\x10\x61pp_connector_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12R\n\rapp_connector\x18\x03 \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xda\x01\n\x19UpdateAppConnectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12R\n\rapp_connector\x18\x02 \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x8e\x01\n\x19\x44\x65leteAppConnectorRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&beyondcorp.googleapis.com/AppConnector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"e\n\x1cResolveInstanceConfigRequest\x12\x45\n\rapp_connector\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&beyondcorp.googleapis.com/AppConnector\"~\n\x1dResolveInstanceConfigResponse\x12]\n\x0finstance_config\x18\x01 \x01(\x0b\x32\x44.google.cloud.beyondcorp.appconnectors.v1.AppConnectorInstanceConfig\"\xe5\x01\n\x13ReportStatusRequest\x12\x45\n\rapp_connector\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&beyondcorp.googleapis.com/AppConnector\x12R\n\rresource_info\x18\x02 \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.ResourceInfoB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xcb\x07\n\x0c\x41ppConnector\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12W\n\x06labels\x18\x04 \x03(\x0b\x32\x42.google.cloud.beyondcorp.appconnectors.v1.AppConnector.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12P\n\x05state\x18\x07 \x01(\x0e\x32<.google.cloud.beyondcorp.appconnectors.v1.AppConnector.StateB\x03\xe0\x41\x03\x12\x61\n\x0eprincipal_info\x18\x08 \x01(\x0b\x32\x44.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfoB\x03\xe0\x41\x02\x12R\n\rresource_info\x18\x0b \x01(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.ResourceInfoB\x03\xe0\x41\x01\x1a\xa8\x01\n\rPrincipalInfo\x12n\n\x0fservice_account\x18\x01 \x01(\x0b\x32S.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccountH\x00\x1a\x1f\n\x0eServiceAccount\x12\r\n\x05\x65mail\x18\x01 \x01(\tB\x06\n\x04type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05:r\xea\x41o\n&beyondcorp.googleapis.com/AppConnector\x12\x45projects/{project}/locations/{location}/appConnectors/{app_connector}\"\x8c\x02\n\x1d\x41ppConnectorOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\x8b\x0f\n\x14\x41ppConnectorsService\x12\xe3\x01\n\x11ListAppConnectors\x12\x42.google.cloud.beyondcorp.appconnectors.v1.ListAppConnectorsRequest\x1a\x43.google.cloud.beyondcorp.appconnectors.v1.ListAppConnectorsResponse\"E\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/appConnectors\x12\xd0\x01\n\x0fGetAppConnector\x12@.google.cloud.beyondcorp.appconnectors.v1.GetAppConnectorRequest\x1a\x36.google.cloud.beyondcorp.appconnectors.v1.AppConnector\"C\x88\x02\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/appConnectors/*}\x12\x9e\x02\n\x12\x43reateAppConnector\x12\x43.google.cloud.beyondcorp.appconnectors.v1.CreateAppConnectorRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x88\x02\x01\xca\x41-\n\x0c\x41ppConnector\x12\x1d\x41ppConnectorOperationMetadata\xda\x41%parent,app_connector,app_connector_id\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/appConnectors:\rapp_connector\x12\xa0\x02\n\x12UpdateAppConnector\x12\x43.google.cloud.beyondcorp.appconnectors.v1.UpdateAppConnectorRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\x88\x02\x01\xca\x41-\n\x0c\x41ppConnector\x12\x1d\x41ppConnectorOperationMetadata\xda\x41\x19\x61pp_connector,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{app_connector.name=projects/*/locations/*/appConnectors/*}:\rapp_connector\x12\xf6\x01\n\x12\x44\x65leteAppConnector\x12\x43.google.cloud.beyondcorp.appconnectors.v1.DeleteAppConnectorRequest\x1a\x1d.google.longrunning.Operation\"|\x88\x02\x01\xca\x41\x36\n\x15google.protobuf.Empty\x12\x1d\x41ppConnectorOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/appConnectors/*}\x12\x95\x02\n\x15ResolveInstanceConfig\x12\x46.google.cloud.beyondcorp.appconnectors.v1.ResolveInstanceConfigRequest\x1aG.google.cloud.beyondcorp.appconnectors.v1.ResolveInstanceConfigResponse\"k\x88\x02\x01\xda\x41\rapp_connector\x82\xd3\xe4\x93\x02R\x12P/v1/{app_connector=projects/*/locations/*/appConnectors/*}:resolveInstanceConfig\x12\x92\x02\n\x0cReportStatus\x12=.google.cloud.beyondcorp.appconnectors.v1.ReportStatusRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x88\x02\x01\xca\x41-\n\x0c\x41ppConnector\x12\x1d\x41ppConnectorOperationMetadata\xda\x41\x1b\x61pp_connector,resource_info\x82\xd3\xe4\x93\x02L\"G/v1/{app_connector=projects/*/locations/*/appConnectors/*}:reportStatus:\x01*\x1aP\x88\x02\x01\xca\x41\x19\x62\x65yondcorp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa4\x02\n,com.google.cloud.beyondcorp.appconnectors.v1B\x19\x41ppConnectorsServiceProtoP\x01ZRcloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb;appconnectorspb\xaa\x02(Google.Cloud.BeyondCorp.AppConnectors.V1\xca\x02(Google\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02,Google::Cloud::BeyondCorp::AppConnectors::V1b\x06proto3"
19
20
 
20
21
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
21
22
  pool.add_serialized_file(descriptor_data)
@@ -31,6 +32,8 @@ module Google
31
32
  CreateAppConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.CreateAppConnectorRequest").msgclass
32
33
  UpdateAppConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.UpdateAppConnectorRequest").msgclass
33
34
  DeleteAppConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.DeleteAppConnectorRequest").msgclass
35
+ ResolveInstanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.ResolveInstanceConfigRequest").msgclass
36
+ ResolveInstanceConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.ResolveInstanceConfigResponse").msgclass
34
37
  ReportStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.ReportStatusRequest").msgclass
35
38
  AppConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.AppConnector").msgclass
36
39
  AppConnector::PrincipalInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo").msgclass
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto for package 'Google.Cloud.BeyondCorp.AppConnectors.V1'
3
3
  # Original file comments:
4
- # Copyright 2022 Google LLC
4
+ # Copyright 2026 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -39,6 +39,10 @@ module Google
39
39
  #
40
40
  # The AppConnectorsService provides methods to manage
41
41
  # (create/read/update/delete) BeyondCorp AppConnectors.
42
+ #
43
+ #
44
+ # Deprecated: App Connector is deprecated and creation of new App Connector
45
+ # resources is no longer permitted. Use Security Gateway instead.
42
46
  class Service
43
47
 
44
48
  include ::GRPC::GenericService
@@ -57,6 +61,9 @@ module Google
57
61
  rpc :UpdateAppConnector, ::Google::Cloud::BeyondCorp::AppConnectors::V1::UpdateAppConnectorRequest, ::Google::Longrunning::Operation
58
62
  # Deletes a single AppConnector.
59
63
  rpc :DeleteAppConnector, ::Google::Cloud::BeyondCorp::AppConnectors::V1::DeleteAppConnectorRequest, ::Google::Longrunning::Operation
64
+ # Gets instance configuration for a given AppConnector.
65
+ # An internal method called by a AppConnector to get its container config.
66
+ rpc :ResolveInstanceConfig, ::Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigRequest, ::Google::Cloud::BeyondCorp::AppConnectors::V1::ResolveInstanceConfigResponse
60
67
  # Report status for a given connector.
61
68
  rpc :ReportStatus, ::Google::Cloud::BeyondCorp::AppConnectors::V1::ReportStatusRequest, ::Google::Longrunning::Operation
62
69
  end
@@ -9,7 +9,7 @@ require 'google/protobuf/any_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n<google/cloud/beyondcorp/appconnectors/v1/resource_info.proto\x12(google.cloud.beyondcorp.appconnectors.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x01\n\x0cResourceInfo\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x06status\x18\x02 \x01(\x0e\x32\x36.google.cloud.beyondcorp.appconnectors.v1.HealthStatus\x12&\n\x08resource\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12(\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x03sub\x18\x05 \x03(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.ResourceInfo*i\n\x0cHealthStatus\x12\x1d\n\x19HEALTH_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x10\n\x0cUNRESPONSIVE\x10\x03\x12\x0c\n\x08\x44\x45GRADED\x10\x04\x42\x9c\x02\n,com.google.cloud.beyondcorp.appconnectors.v1B\x11ResourceInfoProtoP\x01ZRcloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb;appconnectorspb\xaa\x02(Google.Cloud.BeyondCorp.AppConnectors.V1\xca\x02(Google\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02,Google::Cloud::BeyondCorp::AppConnectors::V1b\x06proto3"
12
+ descriptor_data = "\n<google/cloud/beyondcorp/appconnectors/v1/resource_info.proto\x12(google.cloud.beyondcorp.appconnectors.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x01\n\x0cResourceInfo\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x06status\x18\x02 \x01(\x0e\x32\x36.google.cloud.beyondcorp.appconnectors.v1.HealthStatus\x12&\n\x08resource\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x12(\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x03sub\x18\x05 \x03(\x0b\x32\x36.google.cloud.beyondcorp.appconnectors.v1.ResourceInfo\"\x92\x02\n\x16\x43ontainerHealthDetails\x12\x1f\n\x17\x65xpected_config_version\x18\x01 \x01(\t\x12\x1e\n\x16\x63urrent_config_version\x18\x02 \x01(\t\x12m\n\x0f\x65xtended_status\x18\x03 \x03(\x0b\x32T.google.cloud.beyondcorp.appconnectors.v1.ContainerHealthDetails.ExtendedStatusEntry\x12\x11\n\terror_msg\x18\x04 \x01(\t\x1a\x35\n\x13\x45xtendedStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x14\n\x12RemoteAgentDetails*i\n\x0cHealthStatus\x12\x1d\n\x19HEALTH_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x10\n\x0cUNRESPONSIVE\x10\x03\x12\x0c\n\x08\x44\x45GRADED\x10\x04\x42\x9c\x02\n,com.google.cloud.beyondcorp.appconnectors.v1B\x11ResourceInfoProtoP\x01ZRcloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb;appconnectorspb\xaa\x02(Google.Cloud.BeyondCorp.AppConnectors.V1\xca\x02(Google\\Cloud\\BeyondCorp\\AppConnectors\\V1\xea\x02,Google::Cloud::BeyondCorp::AppConnectors::V1b\x06proto3"
13
13
 
14
14
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
15
  pool.add_serialized_file(descriptor_data)
@@ -20,6 +20,8 @@ module Google
20
20
  module AppConnectors
21
21
  module V1
22
22
  ResourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.ResourceInfo").msgclass
23
+ ContainerHealthDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.ContainerHealthDetails").msgclass
24
+ RemoteAgentDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.RemoteAgentDetails").msgclass
23
25
  HealthStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.appconnectors.v1.HealthStatus").enummodule
24
26
  end
25
27
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
data/proto_docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # BeyondCorp AppConnectors V1 Protocol Buffer Documentation
1
+ # BeyondCorp V1 Protocol Buffer Documentation
2
2
 
3
3
  These files are for the YARD documentation of the generated protobuf files.
4
4
  They are not intended to be required or loaded at runtime.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -66,11 +66,13 @@ module Google
66
66
  # @!attribute [rw] target_image
67
67
  # @return [::String]
68
68
  # The initial image the remote agent will attempt to run for the control
69
- # plane.
69
+ # plane. Format would be a gcr image path, e.g.:
70
+ # gcr.io/PROJECT-ID/my-image:tag1
70
71
  # @!attribute [rw] stable_image
71
72
  # @return [::String]
72
73
  # The stable image that the remote agent will fallback to if the target image
73
- # fails.
74
+ # fails. Format would be a gcr image path, e.g.:
75
+ # gcr.io/PROJECT-ID/my-image:tag1
74
76
  class ImageConfig
75
77
  include ::Google::Protobuf::MessageExts
76
78
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -33,8 +33,8 @@ module Google
33
33
  # If not specified, a default value of 50 will be used by the service.
34
34
  # Regardless of the page_size value, the response may include a partial list
35
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.
36
+ # {::Google::Cloud::BeyondCorp::AppConnectors::V1::ListAppConnectorsResponse#next_page_token next_page_token}
37
+ # to determine if there are more instances left to be queried.
38
38
  # @!attribute [rw] page_token
39
39
  # @return [::String]
40
40
  # Optional. The next_page_token value returned from a previous
@@ -101,8 +101,8 @@ module Google
101
101
  # ignore the request if it has already been completed. The server will
102
102
  # guarantee that for at least 60 minutes since the first request.
103
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
104
+ # For example, consider a situation where you make an initial request and
105
+ # the request times out. If you make the request again with the same request
106
106
  # ID, the server can check if original operation with the same request ID
107
107
  # was received, and if so, will ignore the second request. This prevents
108
108
  # clients from accidentally creating duplicate commitments.
@@ -137,8 +137,8 @@ module Google
137
137
  # ignore the request if it has already been completed. The server will
138
138
  # guarantee that for at least 60 minutes since the first request.
139
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
140
+ # For example, consider a situation where you make an initial request and
141
+ # the request times out. If you make the request again with the same request
142
142
  # ID, the server can check if original operation with the same request ID
143
143
  # was received, and if so, will ignore the second request. This prevents
144
144
  # clients from accidentally creating duplicate commitments.
@@ -166,8 +166,8 @@ module Google
166
166
  # ignore the request if it has already been completed. The server will
167
167
  # guarantee that for at least 60 minutes after the first request.
168
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
169
+ # For example, consider a situation where you make an initial request and
170
+ # the request times out. If you make the request again with the same request
171
171
  # ID, the server can check if original operation with the same request ID
172
172
  # was received, and if so, will ignore the second request. This prevents
173
173
  # clients from accidentally creating duplicate commitments.
@@ -183,6 +183,25 @@ module Google
183
183
  extend ::Google::Protobuf::MessageExts::ClassMethods
184
184
  end
185
185
 
186
+ # Request message for BeyondCorp.ResolveInstanceConfig.
187
+ # @!attribute [rw] app_connector
188
+ # @return [::String]
189
+ # Required. BeyondCorp AppConnector name using the form:
190
+ # `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector}`
191
+ class ResolveInstanceConfigRequest
192
+ include ::Google::Protobuf::MessageExts
193
+ extend ::Google::Protobuf::MessageExts::ClassMethods
194
+ end
195
+
196
+ # Response message for BeyondCorp.ResolveInstanceConfig.
197
+ # @!attribute [rw] instance_config
198
+ # @return [::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnectorInstanceConfig]
199
+ # AppConnectorInstanceConfig.
200
+ class ResolveInstanceConfigResponse
201
+ include ::Google::Protobuf::MessageExts
202
+ extend ::Google::Protobuf::MessageExts::ClassMethods
203
+ end
204
+
186
205
  # Request report the connector status.
187
206
  # @!attribute [rw] app_connector
188
207
  # @return [::String]
@@ -198,8 +217,8 @@ module Google
198
217
  # ignore the request if it has already been completed. The server will
199
218
  # guarantee that for at least 60 minutes since the first request.
200
219
  #
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
220
+ # For example, consider a situation where you make an initial request and
221
+ # the request times out. If you make the request again with the same request
203
222
  # ID, the server can check if original operation with the same request ID
204
223
  # was received, and if so, will ignore the second request. This prevents
205
224
  # clients from accidentally creating duplicate commitments.
@@ -324,9 +343,10 @@ module Google
324
343
  # @return [::Boolean]
325
344
  # Output only. Identifies whether the user has requested cancellation
326
345
  # 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`.
346
+ # have
347
+ # {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
348
+ # value with a {::Google::Rpc::Status#code google.rpc.Status.code} of `1`,
349
+ # corresponding to `Code.CANCELLED`.
330
350
  # @!attribute [r] api_version
331
351
  # @return [::String]
332
352
  # Output only. API version used to start the operation.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -22,16 +22,11 @@ module Google
22
22
  module BeyondCorp
23
23
  module AppConnectors
24
24
  module V1
25
- # ResourceInfo represents the information/status of an app connector resource.
26
- # Such as:
27
- # - remote_agent
28
- # - container
29
- # - runtime
30
- # - appgateway
31
- # - appconnector
32
- # - appconnection
33
- # - tunnel
34
- # - logagent
25
+ # ResourceInfo represents the information or status of an app connector
26
+ # resource component that's used to report on various parts of the system. For
27
+ # example, ResourceInfo can be used to convey the status of a remote_agent,
28
+ # including the status of an appgateway for an runtime environment in a
29
+ # container instance.
35
30
  # @!attribute [rw] id
36
31
  # @return [::String]
37
32
  # Required. Unique Id for the resource.
@@ -54,6 +49,39 @@ module Google
54
49
  extend ::Google::Protobuf::MessageExts::ClassMethods
55
50
  end
56
51
 
52
+ # ContainerHealthDetails reflects the health details of a container.
53
+ # @!attribute [rw] expected_config_version
54
+ # @return [::String]
55
+ # The version of the expected config.
56
+ # @!attribute [rw] current_config_version
57
+ # @return [::String]
58
+ # The version of the current config.
59
+ # @!attribute [rw] extended_status
60
+ # @return [::Google::Protobuf::Map{::String => ::String}]
61
+ # The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
62
+ # @!attribute [rw] error_msg
63
+ # @return [::String]
64
+ # The latest error message.
65
+ class ContainerHealthDetails
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+
69
+ # @!attribute [rw] key
70
+ # @return [::String]
71
+ # @!attribute [rw] value
72
+ # @return [::String]
73
+ class ExtendedStatusEntry
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+ end
77
+ end
78
+
79
+ # RemoteAgentDetails reflects the details of a remote agent.
80
+ class RemoteAgentDetails
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
57
85
  # HealthStatus represents the health status.
58
86
  module HealthStatus
59
87
  # Health status is unknown: not initialized or failed to retrieve.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-beyond_corp-app_connectors-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -65,10 +65,11 @@ dependencies:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.3'
68
- description: Beyondcorp Enterprise provides identity and context aware access controls
69
- for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise
70
- APIs, enterprises can set up multi-cloud and on-prem connectivity using the App
71
- Connector hybrid connectivity solution. Note that google-cloud-beyond_corp-app_connectors-v1
68
+ description: Chrome Enterprise Premium is a secure enterprise browsing solution that
69
+ provides secure access to applications and resources, and offers integrated threat
70
+ and data protection. It adds an extra layer of security to safeguard your Chrome
71
+ browser environment, including Data Loss Prevention (DLP), real-time URL and file
72
+ scanning, and Context-Aware Access for SaaS and web apps. Note that google-cloud-beyond_corp-app_connectors-v1
72
73
  is a version-specific client library. For most uses, we recommend installing the
73
74
  main client library google-cloud-beyond_corp instead. See the readme for more details.
74
75
  email: googleapis-packages@google.com
@@ -107,7 +108,6 @@ files:
107
108
  - proto_docs/google/protobuf/field_mask.rb
108
109
  - proto_docs/google/protobuf/timestamp.rb
109
110
  - proto_docs/google/rpc/status.rb
110
- - proto_docs/google/type/expr.rb
111
111
  homepage: https://github.com/googleapis/google-cloud-ruby
112
112
  licenses:
113
113
  - Apache-2.0
@@ -128,8 +128,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  requirements: []
129
129
  rubygems_version: 3.6.9
130
130
  specification_version: 4
131
- summary: Beyondcorp Enterprise provides identity and context aware access controls
132
- for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise
133
- APIs, enterprises can set up multi-cloud and on-prem connectivity using the App
134
- Connector hybrid connectivity solution.
131
+ summary: Chrome Enterprise Premium is a secure enterprise browsing solution that provides
132
+ secure access to applications and resources, and offers integrated threat and data
133
+ protection. It adds an extra layer of security to safeguard your Chrome browser
134
+ environment, including Data Loss Prevention (DLP), real-time URL and file scanning,
135
+ and Context-Aware Access for SaaS and web apps.
135
136
  test_files: []
@@ -1,75 +0,0 @@
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 Type
22
- # Represents a textual expression in the Common Expression Language (CEL)
23
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
24
- # are documented at https://github.com/google/cel-spec.
25
- #
26
- # Example (Comparison):
27
- #
28
- # title: "Summary size limit"
29
- # description: "Determines if a summary is less than 100 chars"
30
- # expression: "document.summary.size() < 100"
31
- #
32
- # Example (Equality):
33
- #
34
- # title: "Requestor is owner"
35
- # description: "Determines if requestor is the document owner"
36
- # expression: "document.owner == request.auth.claims.email"
37
- #
38
- # Example (Logic):
39
- #
40
- # title: "Public documents"
41
- # description: "Determine whether the document should be publicly visible"
42
- # expression: "document.type != 'private' && document.type != 'internal'"
43
- #
44
- # Example (Data Manipulation):
45
- #
46
- # title: "Notification string"
47
- # description: "Create a notification string with a timestamp."
48
- # expression: "'New message received at ' + string(document.create_time)"
49
- #
50
- # The exact variables and functions that may be referenced within an expression
51
- # are determined by the service that evaluates it. See the service
52
- # documentation for additional information.
53
- # @!attribute [rw] expression
54
- # @return [::String]
55
- # Textual representation of an expression in Common Expression Language
56
- # syntax.
57
- # @!attribute [rw] title
58
- # @return [::String]
59
- # Optional. Title for the expression, i.e. a short string describing
60
- # its purpose. This can be used e.g. in UIs which allow to enter the
61
- # expression.
62
- # @!attribute [rw] description
63
- # @return [::String]
64
- # Optional. Description of the expression. This is a longer text which
65
- # describes the expression, e.g. when hovered over it in a UI.
66
- # @!attribute [rw] location
67
- # @return [::String]
68
- # Optional. String indicating the location of the expression for error
69
- # reporting, e.g. a file name and a position in the file.
70
- class Expr
71
- include ::Google::Protobuf::MessageExts
72
- extend ::Google::Protobuf::MessageExts::ClassMethods
73
- end
74
- end
75
- end