google-apis-beyondcorp_v1alpha 0.41.0 → 0.43.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56fc10d7697562b9bc536d3fdd25abd31fcad124c3696f008a5ee18b996d8a0c
4
- data.tar.gz: a8fe74726a147ab255f0f13b3df9bd5acfdf3c203a982daa15b147bd3ecf6649
3
+ metadata.gz: e95a26cb4ca459c3f1035b98b20e04292ecca5a917469ab5a6e10253d0b1d837
4
+ data.tar.gz: 8742822044830cfdb8cd5b4aacb4f2f470b19ed49da8bdb4496b09f7ae9f73b2
5
5
  SHA512:
6
- metadata.gz: 1879f8f2ce776b11c670ea25ebc98c94ee4d87fed13708994d48b4429c6e99d82dca0641a7f3e182c811f427e8cbdbd88344dad8108e9574993dbbac971f7c35
7
- data.tar.gz: f9dfbabadec1bb66f7a8fdffe5b932e26a10620b7b44daf192037456b638d4a44cd95c0af56ea8547f6a12d9701f76437420e48773331ba3137230c15632f38f
6
+ metadata.gz: 89ffba37275d192b77a8447ec1a6456e00e499c2cc6ff7e5687aff109d37dce741a35c71625995047d9187ff15377dd13e941bcad55dbda712de78cd2a6cb159
7
+ data.tar.gz: 1836378f725b6e4eea1e9b6c9f4adf920e53d6635303e3df2b84f1ba10ea477ae002ad7c2f7eebad0c95678b29f4e8972fc423c5c9d9d81a6aa0fede247bad60
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.43.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241204
6
+
7
+ ### v0.42.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241106
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.41.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240626
@@ -165,9 +165,9 @@ module Google
165
165
  attr_accessor :end_time
166
166
 
167
167
  # Output only. Identifies whether the user has requested cancellation of the
168
- # operation. Operations that have successfully been cancelled have Operation.
169
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
170
- # CANCELLED`.
168
+ # operation. Operations that have successfully been cancelled have google.
169
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
170
+ # corresponding to `Code.CANCELLED`.
171
171
  # Corresponds to the JSON property `requestedCancellation`
172
172
  # @return [Boolean]
173
173
  attr_accessor :requested_cancellation
@@ -849,9 +849,9 @@ module Google
849
849
  attr_accessor :end_time
850
850
 
851
851
  # Output only. Identifies whether the user has requested cancellation of the
852
- # operation. Operations that have successfully been cancelled have Operation.
853
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
854
- # CANCELLED`.
852
+ # operation. Operations that have successfully been cancelled have google.
853
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
854
+ # corresponding to `Code.CANCELLED`.
855
855
  # Corresponds to the JSON property `requestedCancellation`
856
856
  # @return [Boolean]
857
857
  attr_accessor :requested_cancellation
@@ -1079,9 +1079,9 @@ module Google
1079
1079
  attr_accessor :end_time
1080
1080
 
1081
1081
  # Output only. Identifies whether the user has requested cancellation of the
1082
- # operation. Operations that have successfully been cancelled have Operation.
1083
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1084
- # CANCELLED`.
1082
+ # operation. Operations that have successfully been cancelled have google.
1083
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
1084
+ # corresponding to `Code.CANCELLED`.
1085
1085
  # Corresponds to the JSON property `requestedCancellation`
1086
1086
  # @return [Boolean]
1087
1087
  attr_accessor :requested_cancellation
@@ -1232,9 +1232,9 @@ module Google
1232
1232
  attr_accessor :end_time
1233
1233
 
1234
1234
  # Output only. Identifies whether the user has requested cancellation of the
1235
- # operation. Operations that have successfully been cancelled have Operation.
1236
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1237
- # CANCELLED`.
1235
+ # operation. Operations that have successfully been cancelled have google.
1236
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
1237
+ # corresponding to `Code.CANCELLED`.
1238
1238
  # Corresponds to the JSON property `requestedCancellation`
1239
1239
  # @return [Boolean]
1240
1240
  attr_accessor :requested_cancellation
@@ -1455,9 +1455,9 @@ module Google
1455
1455
  attr_accessor :end_time
1456
1456
 
1457
1457
  # Output only. Identifies whether the user has requested cancellation of the
1458
- # operation. Operations that have successfully been cancelled have Operation.
1459
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1460
- # CANCELLED`.
1458
+ # operation. Operations that have successfully been cancelled have google.
1459
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
1460
+ # corresponding to `Code.CANCELLED`.
1461
1461
  # Corresponds to the JSON property `requestedCancellation`
1462
1462
  # @return [Boolean]
1463
1463
  attr_accessor :requested_cancellation
@@ -1809,9 +1809,9 @@ module Google
1809
1809
  attr_accessor :end_time
1810
1810
 
1811
1811
  # Output only. Identifies whether the user has requested cancellation of the
1812
- # operation. Operations that have successfully been cancelled have Operation.
1813
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1814
- # CANCELLED`.
1812
+ # operation. Operations that have successfully been cancelled have google.
1813
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
1814
+ # corresponding to `Code.CANCELLED`.
1815
1815
  # Corresponds to the JSON property `requestedCancellation`
1816
1816
  # @return [Boolean]
1817
1817
  attr_accessor :requested_cancellation
@@ -2853,6 +2853,212 @@ module Google
2853
2853
  end
2854
2854
  end
2855
2855
 
2856
+ # Represents the metadata of the long-running operation.
2857
+ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata
2858
+ include Google::Apis::Core::Hashable
2859
+
2860
+ # Output only. API version used to start the operation.
2861
+ # Corresponds to the JSON property `apiVersion`
2862
+ # @return [String]
2863
+ attr_accessor :api_version
2864
+
2865
+ # Output only. The time the operation was created.
2866
+ # Corresponds to the JSON property `createTime`
2867
+ # @return [String]
2868
+ attr_accessor :create_time
2869
+
2870
+ # Output only. The time the operation finished running.
2871
+ # Corresponds to the JSON property `endTime`
2872
+ # @return [String]
2873
+ attr_accessor :end_time
2874
+
2875
+ # Output only. Identifies whether the user has requested cancellation of the
2876
+ # operation. Operations that have been cancelled successfully have Operation.
2877
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
2878
+ # CANCELLED`.
2879
+ # Corresponds to the JSON property `requestedCancellation`
2880
+ # @return [Boolean]
2881
+ attr_accessor :requested_cancellation
2882
+ alias_method :requested_cancellation?, :requested_cancellation
2883
+
2884
+ # Output only. Human-readable status of the operation, if any.
2885
+ # Corresponds to the JSON property `statusMessage`
2886
+ # @return [String]
2887
+ attr_accessor :status_message
2888
+
2889
+ # Output only. Server-defined resource path for the target of the operation.
2890
+ # Corresponds to the JSON property `target`
2891
+ # @return [String]
2892
+ attr_accessor :target
2893
+
2894
+ # Output only. Name of the verb executed by the operation.
2895
+ # Corresponds to the JSON property `verb`
2896
+ # @return [String]
2897
+ attr_accessor :verb
2898
+
2899
+ def initialize(**args)
2900
+ update!(**args)
2901
+ end
2902
+
2903
+ # Update properties of this object
2904
+ def update!(**args)
2905
+ @api_version = args[:api_version] if args.key?(:api_version)
2906
+ @create_time = args[:create_time] if args.key?(:create_time)
2907
+ @end_time = args[:end_time] if args.key?(:end_time)
2908
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
2909
+ @status_message = args[:status_message] if args.key?(:status_message)
2910
+ @target = args[:target] if args.key?(:target)
2911
+ @verb = args[:verb] if args.key?(:verb)
2912
+ end
2913
+ end
2914
+
2915
+ # A Beyondcorp Application resource information.
2916
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication
2917
+ include Google::Apis::Core::Hashable
2918
+
2919
+ # Output only. Timestamp when the resource was created.
2920
+ # Corresponds to the JSON property `createTime`
2921
+ # @return [String]
2922
+ attr_accessor :create_time
2923
+
2924
+ # Optional. An arbitrary user-provided name for the Application resource. Cannot
2925
+ # exceed 64 characters.
2926
+ # Corresponds to the JSON property `displayName`
2927
+ # @return [String]
2928
+ attr_accessor :display_name
2929
+
2930
+ # Required. Endpoint matchers associated with an application. A combination of
2931
+ # hostname and ports as endpoint matcher is used to match the application. Match
2932
+ # conditions for OR logic. An array of match conditions to allow for multiple
2933
+ # matching criteria. The rule is considered a match if one the conditions are
2934
+ # met. The conditions can be one of the following combination (Hostname), (
2935
+ # Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname
2936
+ # and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc
2937
+ # Corresponds to the JSON property `endpointMatchers`
2938
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher>]
2939
+ attr_accessor :endpoint_matchers
2940
+
2941
+ # Identifier. Name of the resource.
2942
+ # Corresponds to the JSON property `name`
2943
+ # @return [String]
2944
+ attr_accessor :name
2945
+
2946
+ # Output only. Timestamp when the resource was last modified.
2947
+ # Corresponds to the JSON property `updateTime`
2948
+ # @return [String]
2949
+ attr_accessor :update_time
2950
+
2951
+ def initialize(**args)
2952
+ update!(**args)
2953
+ end
2954
+
2955
+ # Update properties of this object
2956
+ def update!(**args)
2957
+ @create_time = args[:create_time] if args.key?(:create_time)
2958
+ @display_name = args[:display_name] if args.key?(:display_name)
2959
+ @endpoint_matchers = args[:endpoint_matchers] if args.key?(:endpoint_matchers)
2960
+ @name = args[:name] if args.key?(:name)
2961
+ @update_time = args[:update_time] if args.key?(:update_time)
2962
+ end
2963
+ end
2964
+
2965
+ # EndpointMatcher contains the information of the endpoint that will match the
2966
+ # application.
2967
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher
2968
+ include Google::Apis::Core::Hashable
2969
+
2970
+ # Required. Hostname of the application.
2971
+ # Corresponds to the JSON property `hostname`
2972
+ # @return [String]
2973
+ attr_accessor :hostname
2974
+
2975
+ # Optional. Ports of the application.
2976
+ # Corresponds to the JSON property `ports`
2977
+ # @return [Array<Fixnum>]
2978
+ attr_accessor :ports
2979
+
2980
+ def initialize(**args)
2981
+ update!(**args)
2982
+ end
2983
+
2984
+ # Update properties of this object
2985
+ def update!(**args)
2986
+ @hostname = args[:hostname] if args.key?(:hostname)
2987
+ @ports = args[:ports] if args.key?(:ports)
2988
+ end
2989
+ end
2990
+
2991
+ # The Hub message contains information pertaining to the regional data path
2992
+ # deployments.
2993
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub
2994
+ include Google::Apis::Core::Hashable
2995
+
2996
+ # Represents the Internet Gateway configuration.
2997
+ # Corresponds to the JSON property `internetGateway`
2998
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway]
2999
+ attr_accessor :internet_gateway
3000
+
3001
+ def initialize(**args)
3002
+ update!(**args)
3003
+ end
3004
+
3005
+ # Update properties of this object
3006
+ def update!(**args)
3007
+ @internet_gateway = args[:internet_gateway] if args.key?(:internet_gateway)
3008
+ end
3009
+ end
3010
+
3011
+ # Represents the Internet Gateway configuration.
3012
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway
3013
+ include Google::Apis::Core::Hashable
3014
+
3015
+ # Output only. List of IP addresses assigned to the Cloud NAT.
3016
+ # Corresponds to the JSON property `assignedIps`
3017
+ # @return [Array<String>]
3018
+ attr_accessor :assigned_ips
3019
+
3020
+ def initialize(**args)
3021
+ update!(**args)
3022
+ end
3023
+
3024
+ # Update properties of this object
3025
+ def update!(**args)
3026
+ @assigned_ips = args[:assigned_ips] if args.key?(:assigned_ips)
3027
+ end
3028
+ end
3029
+
3030
+ # Message for response to listing Applications.
3031
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse
3032
+ include Google::Apis::Core::Hashable
3033
+
3034
+ # A list of BeyondCorp Application in the project.
3035
+ # Corresponds to the JSON property `applications`
3036
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication>]
3037
+ attr_accessor :applications
3038
+
3039
+ # A token to retrieve the next page of results, or empty if there are no more
3040
+ # results in the list.
3041
+ # Corresponds to the JSON property `nextPageToken`
3042
+ # @return [String]
3043
+ attr_accessor :next_page_token
3044
+
3045
+ # A list of locations that could not be reached.
3046
+ # Corresponds to the JSON property `unreachable`
3047
+ # @return [Array<String>]
3048
+ attr_accessor :unreachable
3049
+
3050
+ def initialize(**args)
3051
+ update!(**args)
3052
+ end
3053
+
3054
+ # Update properties of this object
3055
+ def update!(**args)
3056
+ @applications = args[:applications] if args.key?(:applications)
3057
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3058
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3059
+ end
3060
+ end
3061
+
2856
3062
  # Message for response to listing SecurityGateways.
2857
3063
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
2858
3064
  include Google::Apis::Core::Hashable
@@ -2906,6 +3112,12 @@ module Google
2906
3112
  # @return [Array<String>]
2907
3113
  attr_accessor :external_ips
2908
3114
 
3115
+ # Optional. Map of Hubs that represents regional data path deployment with GCP
3116
+ # region as a key.
3117
+ # Corresponds to the JSON property `hubs`
3118
+ # @return [Hash<String,Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub>]
3119
+ attr_accessor :hubs
3120
+
2909
3121
  # Identifier. Name of the resource.
2910
3122
  # Corresponds to the JSON property `name`
2911
3123
  # @return [String]
@@ -2930,6 +3142,7 @@ module Google
2930
3142
  @create_time = args[:create_time] if args.key?(:create_time)
2931
3143
  @display_name = args[:display_name] if args.key?(:display_name)
2932
3144
  @external_ips = args[:external_ips] if args.key?(:external_ips)
3145
+ @hubs = args[:hubs] if args.key?(:hubs)
2933
3146
  @name = args[:name] if args.key?(:name)
2934
3147
  @state = args[:state] if args.key?(:state)
2935
3148
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -3950,6 +4163,26 @@ module Google
3950
4163
  end
3951
4164
  end
3952
4165
 
4166
+ # Response message for calling ShouldThrottle
4167
+ class ShouldThrottleResponse
4168
+ include Google::Apis::Core::Hashable
4169
+
4170
+ # Whether the port should be throttled
4171
+ # Corresponds to the JSON property `shouldThrottle`
4172
+ # @return [Boolean]
4173
+ attr_accessor :should_throttle
4174
+ alias_method :should_throttle?, :should_throttle
4175
+
4176
+ def initialize(**args)
4177
+ update!(**args)
4178
+ end
4179
+
4180
+ # Update properties of this object
4181
+ def update!(**args)
4182
+ @should_throttle = args[:should_throttle] if args.key?(:should_throttle)
4183
+ end
4184
+ end
4185
+
3953
4186
  # TunnelerError is an error proto for errors returned by the connection manager.
3954
4187
  class Tunnelv1ProtoTunnelerError
3955
4188
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1alpha
18
18
  # Version of the google-apis-beyondcorp_v1alpha gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240626"
25
+ REVISION = "20241204"
26
26
  end
27
27
  end
28
28
  end
@@ -454,6 +454,42 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
457
493
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
458
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
495
 
@@ -628,6 +664,12 @@ module Google
628
664
  include Google::Apis::Core::JsonObjectSupport
629
665
  end
630
666
 
667
+ class ShouldThrottleResponse
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
631
673
  class Tunnelv1ProtoTunnelerError
632
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
675
 
@@ -1402,6 +1444,64 @@ module Google
1402
1444
  end
1403
1445
  end
1404
1446
 
1447
+ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata
1448
+ # @private
1449
+ class Representation < Google::Apis::Core::JsonRepresentation
1450
+ property :api_version, as: 'apiVersion'
1451
+ property :create_time, as: 'createTime'
1452
+ property :end_time, as: 'endTime'
1453
+ property :requested_cancellation, as: 'requestedCancellation'
1454
+ property :status_message, as: 'statusMessage'
1455
+ property :target, as: 'target'
1456
+ property :verb, as: 'verb'
1457
+ end
1458
+ end
1459
+
1460
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication
1461
+ # @private
1462
+ class Representation < Google::Apis::Core::JsonRepresentation
1463
+ property :create_time, as: 'createTime'
1464
+ property :display_name, as: 'displayName'
1465
+ collection :endpoint_matchers, as: 'endpointMatchers', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher::Representation
1466
+
1467
+ property :name, as: 'name'
1468
+ property :update_time, as: 'updateTime'
1469
+ end
1470
+ end
1471
+
1472
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ property :hostname, as: 'hostname'
1476
+ collection :ports, as: 'ports'
1477
+ end
1478
+ end
1479
+
1480
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub
1481
+ # @private
1482
+ class Representation < Google::Apis::Core::JsonRepresentation
1483
+ property :internet_gateway, as: 'internetGateway', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway::Representation
1484
+
1485
+ end
1486
+ end
1487
+
1488
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway
1489
+ # @private
1490
+ class Representation < Google::Apis::Core::JsonRepresentation
1491
+ collection :assigned_ips, as: 'assignedIps'
1492
+ end
1493
+ end
1494
+
1495
+ class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse
1496
+ # @private
1497
+ class Representation < Google::Apis::Core::JsonRepresentation
1498
+ collection :applications, as: 'applications', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
1499
+
1500
+ property :next_page_token, as: 'nextPageToken'
1501
+ collection :unreachable, as: 'unreachable'
1502
+ end
1503
+ end
1504
+
1405
1505
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse
1406
1506
  # @private
1407
1507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1418,6 +1518,8 @@ module Google
1418
1518
  property :create_time, as: 'createTime'
1419
1519
  property :display_name, as: 'displayName'
1420
1520
  collection :external_ips, as: 'externalIps'
1521
+ hash :hubs, as: 'hubs', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub::Representation
1522
+
1421
1523
  property :name, as: 'name'
1422
1524
  property :state, as: 'state'
1423
1525
  property :update_time, as: 'updateTime'
@@ -1672,6 +1774,13 @@ module Google
1672
1774
  end
1673
1775
  end
1674
1776
 
1777
+ class ShouldThrottleResponse
1778
+ # @private
1779
+ class Representation < Google::Apis::Core::JsonRepresentation
1780
+ property :should_throttle, as: 'shouldThrottle'
1781
+ end
1782
+ end
1783
+
1675
1784
  class Tunnelv1ProtoTunnelerError
1676
1785
  # @private
1677
1786
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1211,6 +1211,11 @@ module Google
1211
1211
  # Required. The resource name of InsightMetadata using the form: `organizations/`
1212
1212
  # organization_id`/locations/`location`` `projects/`project_id`/locations/`
1213
1213
  # location_id``
1214
+ # @param [String] aggregation
1215
+ # Optional. Aggregation type. The default is 'DAILY'.
1216
+ # @param [String] end_time
1217
+ # Optional. Ending time for the duration for which insights are to be pulled.
1218
+ # The default is the current time.
1214
1219
  # @param [String] filter
1215
1220
  # Optional. Filter expression to restrict the insights returned. Supported
1216
1221
  # filter fields: * `type` * `category` * `subCategory` Examples: * "category =
@@ -1230,6 +1235,9 @@ module Google
1230
1235
  # size is 50.
1231
1236
  # @param [String] page_token
1232
1237
  # Optional. A token identifying a page of results the server should return.
1238
+ # @param [String] start_time
1239
+ # Optional. Starting time for the duration for which insights are to be pulled.
1240
+ # The default is 7 days before the current time.
1233
1241
  # @param [String] view
1234
1242
  # Required. List only metadata or full data.
1235
1243
  # @param [String] fields
@@ -1249,15 +1257,18 @@ module Google
1249
1257
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1250
1258
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1251
1259
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1252
- def list_organization_location_insights(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1260
+ def list_organization_location_insights(parent, aggregation: nil, end_time: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, start_time: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1253
1261
  command = make_simple_command(:get, 'v1alpha/{+parent}/insights', options)
1254
1262
  command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse::Representation
1255
1263
  command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
1256
1264
  command.params['parent'] = parent unless parent.nil?
1265
+ command.query['aggregation'] = aggregation unless aggregation.nil?
1266
+ command.query['endTime'] = end_time unless end_time.nil?
1257
1267
  command.query['filter'] = filter unless filter.nil?
1258
1268
  command.query['orderBy'] = order_by unless order_by.nil?
1259
1269
  command.query['pageSize'] = page_size unless page_size.nil?
1260
1270
  command.query['pageToken'] = page_token unless page_token.nil?
1271
+ command.query['startTime'] = start_time unless start_time.nil?
1261
1272
  command.query['view'] = view unless view.nil?
1262
1273
  command.query['fields'] = fields unless fields.nil?
1263
1274
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1270,8 +1281,8 @@ module Google
1270
1281
  # Clients can use Operations.GetOperation or other methods to check whether the
1271
1282
  # cancellation succeeded or whether the operation completed despite cancellation.
1272
1283
  # On successful cancellation, the operation is not deleted; instead, it becomes
1273
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1274
- # corresponding to `Code.CANCELLED`.
1284
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1285
+ # , corresponding to `Code.CANCELLED`.
1275
1286
  # @param [String] name
1276
1287
  # The name of the operation resource to be cancelled.
1277
1288
  # @param [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
@@ -2832,6 +2843,43 @@ module Google
2832
2843
  execute_or_queue_command(command, &block)
2833
2844
  end
2834
2845
 
2846
+ # Calls the Bouncer method ShouldThrottle to check if a request should be
2847
+ # throttled.
2848
+ # @param [String] name
2849
+ # Required. Name of the resource
2850
+ # @param [Fixnum] port
2851
+ # Optional. The port that is being throttled
2852
+ # @param [Fixnum] requested_amount
2853
+ # Optional. The current throughput through the port (mbps)
2854
+ # @param [String] fields
2855
+ # Selector specifying which fields to include in a partial response.
2856
+ # @param [String] quota_user
2857
+ # Available to use for quota purposes for server-side applications. Can be any
2858
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2859
+ # @param [Google::Apis::RequestOptions] options
2860
+ # Request-specific options
2861
+ #
2862
+ # @yield [result, err] Result & error if block supplied
2863
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::ShouldThrottleResponse] parsed result object
2864
+ # @yieldparam err [StandardError] error object if request failed
2865
+ #
2866
+ # @return [Google::Apis::BeyondcorpV1alpha::ShouldThrottleResponse]
2867
+ #
2868
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2869
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2870
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2871
+ def should_project_location_app_gateway_throttle(name, port: nil, requested_amount: nil, fields: nil, quota_user: nil, options: nil, &block)
2872
+ command = make_simple_command(:get, 'v1alpha/{+name}:shouldThrottle', options)
2873
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::ShouldThrottleResponse::Representation
2874
+ command.response_class = Google::Apis::BeyondcorpV1alpha::ShouldThrottleResponse
2875
+ command.params['name'] = name unless name.nil?
2876
+ command.query['port'] = port unless port.nil?
2877
+ command.query['requestedAmount'] = requested_amount unless requested_amount.nil?
2878
+ command.query['fields'] = fields unless fields.nil?
2879
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2880
+ execute_or_queue_command(command, &block)
2881
+ end
2882
+
2835
2883
  # Returns permissions that a caller has on the specified resource. If the
2836
2884
  # resource does not exist, this will return an empty set of permissions, not a `
2837
2885
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -4189,6 +4237,138 @@ module Google
4189
4237
  execute_or_queue_command(command, &block)
4190
4238
  end
4191
4239
 
4240
+ # Creates a new Application in a given project and location.
4241
+ # @param [String] parent
4242
+ # Required. The resource name of the parent SecurityGateway using the form: `
4243
+ # projects/`project_id`/locations/global/securityGateways/`security_gateway_id``
4244
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] google_cloud_beyondcorp_securitygateways_v1alpha_application_object
4245
+ # @param [String] application_id
4246
+ # Optional. User-settable Application resource ID. * Must start with a letter. *
4247
+ # Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
4248
+ # or letter.
4249
+ # @param [String] request_id
4250
+ # Optional. An optional request ID to identify requests. Specify a unique
4251
+ # request ID so that if you must retry your request, the server will know to
4252
+ # ignore request if it has already been completed. The server will guarantee
4253
+ # that for at least 60 minutes since the first request.
4254
+ # @param [String] fields
4255
+ # Selector specifying which fields to include in a partial response.
4256
+ # @param [String] quota_user
4257
+ # Available to use for quota purposes for server-side applications. Can be any
4258
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4259
+ # @param [Google::Apis::RequestOptions] options
4260
+ # Request-specific options
4261
+ #
4262
+ # @yield [result, err] Result & error if block supplied
4263
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4264
+ # @yieldparam err [StandardError] error object if request failed
4265
+ #
4266
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4267
+ #
4268
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4269
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4270
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4271
+ def create_project_location_global_security_gateway_application(parent, google_cloud_beyondcorp_securitygateways_v1alpha_application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4272
+ command = make_simple_command(:post, 'v1alpha/{+parent}/applications', options)
4273
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
4274
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_application_object
4275
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4276
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4277
+ command.params['parent'] = parent unless parent.nil?
4278
+ command.query['applicationId'] = application_id unless application_id.nil?
4279
+ command.query['requestId'] = request_id unless request_id.nil?
4280
+ command.query['fields'] = fields unless fields.nil?
4281
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4282
+ execute_or_queue_command(command, &block)
4283
+ end
4284
+
4285
+ # Updates the parameters of a single Application.
4286
+ # @param [String] name
4287
+ # Identifier. Name of the resource.
4288
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] google_cloud_beyondcorp_securitygateways_v1alpha_application_object
4289
+ # @param [String] request_id
4290
+ # Optional. An optional request ID to identify requests. Specify a unique
4291
+ # request ID so that if you must retry your request, the server will know to
4292
+ # ignore the request if it has already been completed. The server will guarantee
4293
+ # that for at least 60 minutes after the first request. For example, consider a
4294
+ # situation where you make an initial request and the request timed out. If you
4295
+ # make the request again with the same request ID, the server can check if
4296
+ # original operation with the same request ID was received, and if so, will
4297
+ # ignore the second request. This prevents clients from accidentally creating
4298
+ # duplicate commitments. The request ID must be a valid UUID with the exception
4299
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4300
+ # @param [String] update_mask
4301
+ # Required. Mutable fields include: display_name.
4302
+ # @param [String] fields
4303
+ # Selector specifying which fields to include in a partial response.
4304
+ # @param [String] quota_user
4305
+ # Available to use for quota purposes for server-side applications. Can be any
4306
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4307
+ # @param [Google::Apis::RequestOptions] options
4308
+ # Request-specific options
4309
+ #
4310
+ # @yield [result, err] Result & error if block supplied
4311
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
4312
+ # @yieldparam err [StandardError] error object if request failed
4313
+ #
4314
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
4315
+ #
4316
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4317
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4318
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4319
+ def patch_project_location_global_security_gateway_application(name, google_cloud_beyondcorp_securitygateways_v1alpha_application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4320
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
4321
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
4322
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_application_object
4323
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
4324
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
4325
+ command.params['name'] = name unless name.nil?
4326
+ command.query['requestId'] = request_id unless request_id.nil?
4327
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4328
+ command.query['fields'] = fields unless fields.nil?
4329
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4330
+ execute_or_queue_command(command, &block)
4331
+ end
4332
+
4333
+ # Returns permissions that a caller has on the specified resource. If the
4334
+ # resource does not exist, this will return an empty set of permissions, not a `
4335
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
4336
+ # permission-aware UIs and command-line tools, not for authorization checking.
4337
+ # This operation may "fail open" without warning.
4338
+ # @param [String] resource
4339
+ # REQUIRED: The resource for which the policy detail is being requested. See [
4340
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
4341
+ # appropriate value for this field.
4342
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
4343
+ # @param [String] fields
4344
+ # Selector specifying which fields to include in a partial response.
4345
+ # @param [String] quota_user
4346
+ # Available to use for quota purposes for server-side applications. Can be any
4347
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4348
+ # @param [Google::Apis::RequestOptions] options
4349
+ # Request-specific options
4350
+ #
4351
+ # @yield [result, err] Result & error if block supplied
4352
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
4353
+ # @yieldparam err [StandardError] error object if request failed
4354
+ #
4355
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
4356
+ #
4357
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4358
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4359
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4360
+ def test_project_location_global_security_gateway_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4361
+ command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
4362
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
4363
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
4364
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
4365
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
4366
+ command.params['resource'] = resource unless resource.nil?
4367
+ command.query['fields'] = fields unless fields.nil?
4368
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4369
+ execute_or_queue_command(command, &block)
4370
+ end
4371
+
4192
4372
  # Gets the value for a selected particular insight based on the provided filters.
4193
4373
  # Use the organization level path for fetching at org level and project level
4194
4374
  # path for fetching the insight value specific to a particular project.
@@ -4318,6 +4498,11 @@ module Google
4318
4498
  # Required. The resource name of InsightMetadata using the form: `organizations/`
4319
4499
  # organization_id`/locations/`location`` `projects/`project_id`/locations/`
4320
4500
  # location_id``
4501
+ # @param [String] aggregation
4502
+ # Optional. Aggregation type. The default is 'DAILY'.
4503
+ # @param [String] end_time
4504
+ # Optional. Ending time for the duration for which insights are to be pulled.
4505
+ # The default is the current time.
4321
4506
  # @param [String] filter
4322
4507
  # Optional. Filter expression to restrict the insights returned. Supported
4323
4508
  # filter fields: * `type` * `category` * `subCategory` Examples: * "category =
@@ -4337,6 +4522,9 @@ module Google
4337
4522
  # size is 50.
4338
4523
  # @param [String] page_token
4339
4524
  # Optional. A token identifying a page of results the server should return.
4525
+ # @param [String] start_time
4526
+ # Optional. Starting time for the duration for which insights are to be pulled.
4527
+ # The default is 7 days before the current time.
4340
4528
  # @param [String] view
4341
4529
  # Required. List only metadata or full data.
4342
4530
  # @param [String] fields
@@ -4356,150 +4544,32 @@ module Google
4356
4544
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4357
4545
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4358
4546
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4359
- def list_project_location_insights(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
4547
+ def list_project_location_insights(parent, aggregation: nil, end_time: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, start_time: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
4360
4548
  command = make_simple_command(:get, 'v1alpha/{+parent}/insights', options)
4361
4549
  command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse::Representation
4362
4550
  command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
4363
4551
  command.params['parent'] = parent unless parent.nil?
4552
+ command.query['aggregation'] = aggregation unless aggregation.nil?
4553
+ command.query['endTime'] = end_time unless end_time.nil?
4364
4554
  command.query['filter'] = filter unless filter.nil?
4365
4555
  command.query['orderBy'] = order_by unless order_by.nil?
4366
4556
  command.query['pageSize'] = page_size unless page_size.nil?
4367
4557
  command.query['pageToken'] = page_token unless page_token.nil?
4558
+ command.query['startTime'] = start_time unless start_time.nil?
4368
4559
  command.query['view'] = view unless view.nil?
4369
4560
  command.query['fields'] = fields unless fields.nil?
4370
4561
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4371
4562
  execute_or_queue_command(command, &block)
4372
4563
  end
4373
4564
 
4374
- # Gets the access control policy for a resource. Returns an empty policy if the
4375
- # resource exists and does not have a policy set.
4376
- # @param [String] resource
4377
- # REQUIRED: The resource for which the policy is being requested. See [Resource
4378
- # names](https://cloud.google.com/apis/design/resource_names) for the
4379
- # appropriate value for this field.
4380
- # @param [Fixnum] options_requested_policy_version
4381
- # Optional. The maximum policy version that will be used to format the policy.
4382
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
4383
- # rejected. Requests for policies with any conditional role bindings must
4384
- # specify version 3. Policies with no conditional role bindings may specify any
4385
- # valid value or leave the field unset. The policy in the response might use the
4386
- # policy version that you specified, or it might use a lower policy version. For
4387
- # example, if you specify version 3, but the policy has no conditional role
4388
- # bindings, the response uses version 1. To learn which resources support
4389
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
4390
- # google.com/iam/help/conditions/resource-policies).
4391
- # @param [String] fields
4392
- # Selector specifying which fields to include in a partial response.
4393
- # @param [String] quota_user
4394
- # Available to use for quota purposes for server-side applications. Can be any
4395
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4396
- # @param [Google::Apis::RequestOptions] options
4397
- # Request-specific options
4398
- #
4399
- # @yield [result, err] Result & error if block supplied
4400
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
4401
- # @yieldparam err [StandardError] error object if request failed
4402
- #
4403
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
4404
- #
4405
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4406
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4407
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4408
- def get_project_location_net_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
4409
- command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
4410
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
4411
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
4412
- command.params['resource'] = resource unless resource.nil?
4413
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
4414
- command.query['fields'] = fields unless fields.nil?
4415
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4416
- execute_or_queue_command(command, &block)
4417
- end
4418
-
4419
- # Sets the access control policy on the specified resource. Replaces any
4420
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
4421
- # PERMISSION_DENIED` errors.
4422
- # @param [String] resource
4423
- # REQUIRED: The resource for which the policy is being specified. See [Resource
4424
- # names](https://cloud.google.com/apis/design/resource_names) for the
4425
- # appropriate value for this field.
4426
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
4427
- # @param [String] fields
4428
- # Selector specifying which fields to include in a partial response.
4429
- # @param [String] quota_user
4430
- # Available to use for quota purposes for server-side applications. Can be any
4431
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4432
- # @param [Google::Apis::RequestOptions] options
4433
- # Request-specific options
4434
- #
4435
- # @yield [result, err] Result & error if block supplied
4436
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
4437
- # @yieldparam err [StandardError] error object if request failed
4438
- #
4439
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
4440
- #
4441
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4442
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4443
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4444
- def set_project_location_net_connection_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4445
- command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
4446
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
4447
- command.request_object = google_iam_v1_set_iam_policy_request_object
4448
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
4449
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
4450
- command.params['resource'] = resource unless resource.nil?
4451
- command.query['fields'] = fields unless fields.nil?
4452
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4453
- execute_or_queue_command(command, &block)
4454
- end
4455
-
4456
- # Returns permissions that a caller has on the specified resource. If the
4457
- # resource does not exist, this will return an empty set of permissions, not a `
4458
- # NOT_FOUND` error. Note: This operation is designed to be used for building
4459
- # permission-aware UIs and command-line tools, not for authorization checking.
4460
- # This operation may "fail open" without warning.
4461
- # @param [String] resource
4462
- # REQUIRED: The resource for which the policy detail is being requested. See [
4463
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
4464
- # appropriate value for this field.
4465
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
4466
- # @param [String] fields
4467
- # Selector specifying which fields to include in a partial response.
4468
- # @param [String] quota_user
4469
- # Available to use for quota purposes for server-side applications. Can be any
4470
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4471
- # @param [Google::Apis::RequestOptions] options
4472
- # Request-specific options
4473
- #
4474
- # @yield [result, err] Result & error if block supplied
4475
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
4476
- # @yieldparam err [StandardError] error object if request failed
4477
- #
4478
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
4479
- #
4480
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4481
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4482
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4483
- def test_project_location_net_connection_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4484
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
4485
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
4486
- command.request_object = google_iam_v1_test_iam_permissions_request_object
4487
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
4488
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
4489
- command.params['resource'] = resource unless resource.nil?
4490
- command.query['fields'] = fields unless fields.nil?
4491
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4492
- execute_or_queue_command(command, &block)
4493
- end
4494
-
4495
4565
  # Starts asynchronous cancellation on a long-running operation. The server makes
4496
4566
  # a best effort to cancel the operation, but success is not guaranteed. If the
4497
4567
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
4498
4568
  # Clients can use Operations.GetOperation or other methods to check whether the
4499
4569
  # cancellation succeeded or whether the operation completed despite cancellation.
4500
4570
  # On successful cancellation, the operation is not deleted; instead, it becomes
4501
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
4502
- # corresponding to `Code.CANCELLED`.
4571
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
4572
+ # , corresponding to `Code.CANCELLED`.
4503
4573
  # @param [String] name
4504
4574
  # The name of the operation resource to be cancelled.
4505
4575
  # @param [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
@@ -4872,7 +4942,7 @@ module Google
4872
4942
  # duplicate commitments. The request ID must be a valid UUID with the exception
4873
4943
  # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4874
4944
  # @param [String] update_mask
4875
- # Required. Mutable fields include: display_name, gateway_regions.
4945
+ # Required. Mutable fields include: display_name, hubs.
4876
4946
  # @param [String] fields
4877
4947
  # Selector specifying which fields to include in a partial response.
4878
4948
  # @param [String] quota_user
@@ -4979,6 +5049,218 @@ module Google
4979
5049
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4980
5050
  execute_or_queue_command(command, &block)
4981
5051
  end
5052
+
5053
+ # Deletes a single Application.
5054
+ # @param [String] name
5055
+ # Required. Name of the resource.
5056
+ # @param [String] request_id
5057
+ # Optional. An optional request ID to identify requests. Specify a unique
5058
+ # request ID so that if you must retry your request, the server will know to
5059
+ # ignore the request if it has already been completed. The server will guarantee
5060
+ # that for at least 60 minutes after the first request. For example, consider a
5061
+ # situation where you make an initial request and the request times out. If you
5062
+ # make the request again with the same request ID, the server can check if
5063
+ # original operation with the same request ID was received, and if so, will
5064
+ # ignore the second request. This prevents clients from accidentally creating
5065
+ # duplicate commitments. The request ID must be a valid UUID with the exception
5066
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
5067
+ # @param [Boolean] validate_only
5068
+ # Optional. If set, validates request by executing a dry-run which would not
5069
+ # alter the resource in any way.
5070
+ # @param [String] fields
5071
+ # Selector specifying which fields to include in a partial response.
5072
+ # @param [String] quota_user
5073
+ # Available to use for quota purposes for server-side applications. Can be any
5074
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5075
+ # @param [Google::Apis::RequestOptions] options
5076
+ # Request-specific options
5077
+ #
5078
+ # @yield [result, err] Result & error if block supplied
5079
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
5080
+ # @yieldparam err [StandardError] error object if request failed
5081
+ #
5082
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
5083
+ #
5084
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5085
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5086
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5087
+ def delete_project_location_security_gateway_application(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
5088
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
5089
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
5090
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
5091
+ command.params['name'] = name unless name.nil?
5092
+ command.query['requestId'] = request_id unless request_id.nil?
5093
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
5094
+ command.query['fields'] = fields unless fields.nil?
5095
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5096
+ execute_or_queue_command(command, &block)
5097
+ end
5098
+
5099
+ # Gets details of a single Application.
5100
+ # @param [String] name
5101
+ # Required. The resource name of the Application using the form: `projects/`
5102
+ # project_id`/locations/global/securityGateway/`security_gateway_id`/
5103
+ # applications/`application_id``
5104
+ # @param [String] fields
5105
+ # Selector specifying which fields to include in a partial response.
5106
+ # @param [String] quota_user
5107
+ # Available to use for quota purposes for server-side applications. Can be any
5108
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5109
+ # @param [Google::Apis::RequestOptions] options
5110
+ # Request-specific options
5111
+ #
5112
+ # @yield [result, err] Result & error if block supplied
5113
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] parsed result object
5114
+ # @yieldparam err [StandardError] error object if request failed
5115
+ #
5116
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication]
5117
+ #
5118
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5119
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5120
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5121
+ def get_project_location_security_gateway_application(name, fields: nil, quota_user: nil, options: nil, &block)
5122
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
5123
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
5124
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication
5125
+ command.params['name'] = name unless name.nil?
5126
+ command.query['fields'] = fields unless fields.nil?
5127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5128
+ execute_or_queue_command(command, &block)
5129
+ end
5130
+
5131
+ # Gets the access control policy for a resource. Returns an empty policy if the
5132
+ # resource exists and does not have a policy set.
5133
+ # @param [String] resource
5134
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
5135
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5136
+ # appropriate value for this field.
5137
+ # @param [Fixnum] options_requested_policy_version
5138
+ # Optional. The maximum policy version that will be used to format the policy.
5139
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
5140
+ # rejected. Requests for policies with any conditional role bindings must
5141
+ # specify version 3. Policies with no conditional role bindings may specify any
5142
+ # valid value or leave the field unset. The policy in the response might use the
5143
+ # policy version that you specified, or it might use a lower policy version. For
5144
+ # example, if you specify version 3, but the policy has no conditional role
5145
+ # bindings, the response uses version 1. To learn which resources support
5146
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5147
+ # google.com/iam/help/conditions/resource-policies).
5148
+ # @param [String] fields
5149
+ # Selector specifying which fields to include in a partial response.
5150
+ # @param [String] quota_user
5151
+ # Available to use for quota purposes for server-side applications. Can be any
5152
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5153
+ # @param [Google::Apis::RequestOptions] options
5154
+ # Request-specific options
5155
+ #
5156
+ # @yield [result, err] Result & error if block supplied
5157
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
5158
+ # @yieldparam err [StandardError] error object if request failed
5159
+ #
5160
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
5161
+ #
5162
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5163
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5164
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5165
+ def get_project_location_security_gateway_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
5166
+ command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
5167
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
5168
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
5169
+ command.params['resource'] = resource unless resource.nil?
5170
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
5171
+ command.query['fields'] = fields unless fields.nil?
5172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5173
+ execute_or_queue_command(command, &block)
5174
+ end
5175
+
5176
+ # Lists Applications in a given project and location.
5177
+ # @param [String] parent
5178
+ # Required. The parent location to which the resources belong. `projects/`
5179
+ # project_id`/locations/global/securityGateways/`security_gateway_id``
5180
+ # @param [String] filter
5181
+ # Optional. A filter specifying constraints of a list operation. All fields in
5182
+ # the Application message are supported. For example, the following query will
5183
+ # return the Application with displayName "test-application" For more
5184
+ # information, please refer to https://google.aip.dev/160.
5185
+ # @param [String] order_by
5186
+ # Optional. Specifies the ordering of results. See [Sorting order](https://cloud.
5187
+ # google.com/apis/design/design_patterns#sorting_order) for more information.
5188
+ # @param [Fixnum] page_size
5189
+ # Optional. The maximum number of items to return. If not specified, a default
5190
+ # value of 50 will be used by the service. Regardless of the page_size value,
5191
+ # the response may include a partial list and a caller should only rely on
5192
+ # response's next_page_token to determine if there are more instances left to be
5193
+ # queried.
5194
+ # @param [String] page_token
5195
+ # Optional. The next_page_token value returned from a previous
5196
+ # ListApplicationsRequest, if any.
5197
+ # @param [String] fields
5198
+ # Selector specifying which fields to include in a partial response.
5199
+ # @param [String] quota_user
5200
+ # Available to use for quota purposes for server-side applications. Can be any
5201
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5202
+ # @param [Google::Apis::RequestOptions] options
5203
+ # Request-specific options
5204
+ #
5205
+ # @yield [result, err] Result & error if block supplied
5206
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse] parsed result object
5207
+ # @yieldparam err [StandardError] error object if request failed
5208
+ #
5209
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse]
5210
+ #
5211
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5212
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5213
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5214
+ def list_project_location_security_gateway_applications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5215
+ command = make_simple_command(:get, 'v1alpha/{+parent}/applications', options)
5216
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse::Representation
5217
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse
5218
+ command.params['parent'] = parent unless parent.nil?
5219
+ command.query['filter'] = filter unless filter.nil?
5220
+ command.query['orderBy'] = order_by unless order_by.nil?
5221
+ command.query['pageSize'] = page_size unless page_size.nil?
5222
+ command.query['pageToken'] = page_token unless page_token.nil?
5223
+ command.query['fields'] = fields unless fields.nil?
5224
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5225
+ execute_or_queue_command(command, &block)
5226
+ end
5227
+
5228
+ # Sets the access control policy on the specified resource. Replaces any
5229
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
5230
+ # PERMISSION_DENIED` errors.
5231
+ # @param [String] resource
5232
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
5233
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5234
+ # appropriate value for this field.
5235
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
5236
+ # @param [String] fields
5237
+ # Selector specifying which fields to include in a partial response.
5238
+ # @param [String] quota_user
5239
+ # Available to use for quota purposes for server-side applications. Can be any
5240
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5241
+ # @param [Google::Apis::RequestOptions] options
5242
+ # Request-specific options
5243
+ #
5244
+ # @yield [result, err] Result & error if block supplied
5245
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
5246
+ # @yieldparam err [StandardError] error object if request failed
5247
+ #
5248
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
5249
+ #
5250
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5251
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5252
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5253
+ def set_project_location_security_gateway_application_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5254
+ command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
5255
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
5256
+ command.request_object = google_iam_v1_set_iam_policy_request_object
5257
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
5258
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
5259
+ command.params['resource'] = resource unless resource.nil?
5260
+ command.query['fields'] = fields unless fields.nil?
5261
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5262
+ execute_or_queue_command(command, &block)
5263
+ end
4982
5264
 
4983
5265
  protected
4984
5266
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BeyondCorp API V1alpha