google-apis-compute_alpha 0.20.0 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/compute_alpha/classes.rb +645 -65
- data/lib/google/apis/compute_alpha/gem_version.rb +3 -3
- data/lib/google/apis/compute_alpha/representations.rb +215 -0
- data/lib/google/apis/compute_alpha/service.rb +1532 -603
- metadata +4 -4
@@ -2810,7 +2810,10 @@ module Google
|
|
2810
2810
|
execute_or_queue_command(command, &block)
|
2811
2811
|
end
|
2812
2812
|
|
2813
|
-
# Creates a snapshot of a specified persistent disk.
|
2813
|
+
# Creates a snapshot of a specified persistent disk. For regular snapshot
|
2814
|
+
# creation, consider using snapshots.insert instead, as that method supports
|
2815
|
+
# more features, such as creating snapshots in a project different from the
|
2816
|
+
# source disk project.
|
2814
2817
|
# @param [String] project
|
2815
2818
|
# Project ID for this request.
|
2816
2819
|
# @param [String] zone
|
@@ -3386,8 +3389,8 @@ module Google
|
|
3386
3389
|
execute_or_queue_command(command, &block)
|
3387
3390
|
end
|
3388
3391
|
|
3389
|
-
#
|
3390
|
-
# performed only on selected fields included as part of update-mask. Only the
|
3392
|
+
# Updates the specified disk with the data included in the request. The update
|
3393
|
+
# is performed only on selected fields included as part of update-mask. Only the
|
3391
3394
|
# following fields can be modified: user_license.
|
3392
3395
|
# @param [String] project
|
3393
3396
|
# Project ID for this request.
|
@@ -7365,8 +7368,7 @@ module Google
|
|
7365
7368
|
# operation with the same request ID was received, and if so, will ignore the
|
7366
7369
|
# second request. This prevents clients from accidentally creating duplicate
|
7367
7370
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
7368
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
7369
|
-
# MixerMutationRequestBuilder
|
7371
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
7370
7372
|
# @param [String] fields
|
7371
7373
|
# Selector specifying which fields to include in a partial response.
|
7372
7374
|
# @param [String] quota_user
|
@@ -7449,8 +7451,7 @@ module Google
|
|
7449
7451
|
# operation with the same request ID was received, and if so, will ignore the
|
7450
7452
|
# second request. This prevents clients from accidentally creating duplicate
|
7451
7453
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
7452
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
7453
|
-
# MixerMutationRequestBuilder
|
7454
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
7454
7455
|
# @param [String] fields
|
7455
7456
|
# Selector specifying which fields to include in a partial response.
|
7456
7457
|
# @param [String] quota_user
|
@@ -7578,8 +7579,7 @@ module Google
|
|
7578
7579
|
# operation with the same request ID was received, and if so, will ignore the
|
7579
7580
|
# second request. This prevents clients from accidentally creating duplicate
|
7580
7581
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
7581
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
7582
|
-
# MixerMutationRequestBuilder
|
7582
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
7583
7583
|
# @param [String] fields
|
7584
7584
|
# Selector specifying which fields to include in a partial response.
|
7585
7585
|
# @param [String] quota_user
|
@@ -10775,20 +10775,17 @@ module Google
|
|
10775
10775
|
# stopInstances operation is marked DONE if the stopInstances request is
|
10776
10776
|
# successful. The underlying actions take additional time. You must separately
|
10777
10777
|
# verify the status of the STOPPING action with the listmanagedinstances method.
|
10778
|
-
# If the
|
10779
|
-
# the
|
10780
|
-
#
|
10781
|
-
#
|
10782
|
-
#
|
10783
|
-
#
|
10784
|
-
#
|
10785
|
-
#
|
10786
|
-
#
|
10787
|
-
#
|
10788
|
-
#
|
10789
|
-
# after the connection draining duration has elapsed before the VM instance is
|
10790
|
-
# suspended. Stopped instances can be started using the startInstances method.
|
10791
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
10778
|
+
# If the standbyPolicy.initialDelaySec field is set, the group delays stopping
|
10779
|
+
# the instances until initialDelaySec have passed from instance.
|
10780
|
+
# creationTimestamp (that is, when the instance was created). This delay gives
|
10781
|
+
# your application time to set itself up and initialize on the instance. If more
|
10782
|
+
# than initialDelaySec seconds have passed since instance.creationTimestamp when
|
10783
|
+
# this method is called, there will be zero delay. If the group is part of a
|
10784
|
+
# backend service that has enabled connection draining, it can take up to 60
|
10785
|
+
# seconds after the connection draining duration has elapsed before the VM
|
10786
|
+
# instance is stopped. Stopped instances can be started using the startInstances
|
10787
|
+
# method. You can specify a maximum of 1000 instances with this method per
|
10788
|
+
# request.
|
10792
10789
|
# @param [String] project
|
10793
10790
|
# Project ID for this request.
|
10794
10791
|
# @param [String] zone
|
@@ -10848,21 +10845,17 @@ module Google
|
|
10848
10845
|
# suspendInstances operation is marked DONE if the suspendInstances request is
|
10849
10846
|
# successful. The underlying actions take additional time. You must separately
|
10850
10847
|
# verify the status of the SUSPENDING action with the listmanagedinstances
|
10851
|
-
# method. If the
|
10852
|
-
#
|
10853
|
-
# is
|
10854
|
-
#
|
10855
|
-
#
|
10856
|
-
#
|
10857
|
-
#
|
10858
|
-
#
|
10859
|
-
#
|
10860
|
-
#
|
10861
|
-
#
|
10862
|
-
# can take up to 60 seconds after the connection draining duration has elapsed
|
10863
|
-
# before the VM instance is suspended. Suspended instances can be resumed using
|
10864
|
-
# the resumeInstances method. You can specify a maximum of 1000 instances with
|
10865
|
-
# this method per request.
|
10848
|
+
# method. If the standbyPolicy.initialDelaySec field is set, the group delays
|
10849
|
+
# suspension of the instances until initialDelaySec have passed from instance.
|
10850
|
+
# creationTimestamp (that is, when the instance was created). This delay gives
|
10851
|
+
# your application time to set itself up and initialize on the instance. If more
|
10852
|
+
# than initialDelaySec seconds have passed since instance.creationTimestamp when
|
10853
|
+
# this method is called, there will be zero delay. If the group is part of a
|
10854
|
+
# backend service that has enabled connection draining, it can take up to 60
|
10855
|
+
# seconds after the connection draining duration has elapsed before the VM
|
10856
|
+
# instance is suspended. Suspended instances can be resumed using the
|
10857
|
+
# resumeInstances method. You can specify a maximum of 1000 instances with this
|
10858
|
+
# method per request.
|
10866
10859
|
# @param [String] project
|
10867
10860
|
# Project ID for this request.
|
10868
10861
|
# @param [String] zone
|
@@ -13778,7 +13771,9 @@ module Google
|
|
13778
13771
|
|
13779
13772
|
# Sets an instance's scheduling options. You can only call this method on a
|
13780
13773
|
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
|
13781
|
-
# Instance Life Cycle for more information on the possible instance states.
|
13774
|
+
# Instance Life Cycle for more information on the possible instance states. For
|
13775
|
+
# more information about setting scheduling options for a VM, see Set VM
|
13776
|
+
# availability policies.
|
13782
13777
|
# @param [String] project
|
13783
13778
|
# Project ID for this request.
|
13784
13779
|
# @param [String] zone
|
@@ -14049,7 +14044,8 @@ module Google
|
|
14049
14044
|
execute_or_queue_command(command, &block)
|
14050
14045
|
end
|
14051
14046
|
|
14052
|
-
# Simulates a maintenance event on
|
14047
|
+
# Simulates a host maintenance event on a VM. For more information, see Simulate
|
14048
|
+
# a host maintenance event.
|
14053
14049
|
# @param [String] project
|
14054
14050
|
# Project ID for this request.
|
14055
14051
|
# @param [String] zone
|
@@ -14253,10 +14249,11 @@ module Google
|
|
14253
14249
|
|
14254
14250
|
# This method suspends a running instance, saving its state to persistent
|
14255
14251
|
# storage, and allows you to resume the instance at a later time. Suspended
|
14256
|
-
# instances
|
14257
|
-
#
|
14258
|
-
# disks and static IP addresses, will
|
14259
|
-
#
|
14252
|
+
# instances have no compute costs (cores or RAM), and incur only storage charges
|
14253
|
+
# for the saved VM memory and localSSD data. Any charged resources the virtual
|
14254
|
+
# machine was using, such as persistent disks and static IP addresses, will
|
14255
|
+
# continue to be charged while the instance is suspended. For more information,
|
14256
|
+
# see Suspending and resuming an instance.
|
14260
14257
|
# @param [String] project
|
14261
14258
|
# Project ID for this request.
|
14262
14259
|
# @param [String] zone
|
@@ -22556,7 +22553,13 @@ module Google
|
|
22556
22553
|
execute_or_queue_command(command, &block)
|
22557
22554
|
end
|
22558
22555
|
|
22559
|
-
# Returns the specified Project resource.
|
22556
|
+
# Returns the specified Project resource. To decrease latency for this method,
|
22557
|
+
# you can optionally omit any unneeded information from the response by using a
|
22558
|
+
# field mask. This practice is especially recommended for unused quota
|
22559
|
+
# information (the `quotas` field). To exclude one or more fields, set your
|
22560
|
+
# request's `fields` query parameter to only include the fields you need. For
|
22561
|
+
# example, to only include the `id` and `selfLink` fields, add the query
|
22562
|
+
# parameter `?fields=id,selfLink` to your request.
|
22560
22563
|
# @param [String] project
|
22561
22564
|
# Project ID for this request.
|
22562
22565
|
# @param [String] fields
|
@@ -22828,7 +22831,12 @@ module Google
|
|
22828
22831
|
execute_or_queue_command(command, &block)
|
22829
22832
|
end
|
22830
22833
|
|
22831
|
-
# Moves an instance and its attached persistent disks from one zone to another.
|
22834
|
+
# Moves an instance and its attached persistent disks from one zone to another. *
|
22835
|
+
# Note*: Moving VMs or disks by using this method might cause unexpected
|
22836
|
+
# behavior. For more information, see the [known issue](/compute/docs/
|
22837
|
+
# troubleshooting/known-issues#
|
22838
|
+
# ving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior)
|
22839
|
+
# .
|
22832
22840
|
# @param [String] project
|
22833
22841
|
# Project ID for this request.
|
22834
22842
|
# @param [Google::Apis::ComputeAlpha::InstanceMoveRequest] instance_move_request_object
|
@@ -23084,8 +23092,7 @@ module Google
|
|
23084
23092
|
# operation with the same request ID was received, and if so, will ignore the
|
23085
23093
|
# second request. This prevents clients from accidentally creating duplicate
|
23086
23094
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
23087
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23088
|
-
# MixerMutationRequestBuilder
|
23095
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23089
23096
|
# @param [String] fields
|
23090
23097
|
# Selector specifying which fields to include in a partial response.
|
23091
23098
|
# @param [String] quota_user
|
@@ -23168,8 +23175,7 @@ module Google
|
|
23168
23175
|
# operation with the same request ID was received, and if so, will ignore the
|
23169
23176
|
# second request. This prevents clients from accidentally creating duplicate
|
23170
23177
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
23171
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23172
|
-
# MixerMutationRequestBuilder
|
23178
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23173
23179
|
# @param [String] fields
|
23174
23180
|
# Selector specifying which fields to include in a partial response.
|
23175
23181
|
# @param [String] quota_user
|
@@ -23297,8 +23303,7 @@ module Google
|
|
23297
23303
|
# operation with the same request ID was received, and if so, will ignore the
|
23298
23304
|
# second request. This prevents clients from accidentally creating duplicate
|
23299
23305
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
23300
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23301
|
-
# MixerMutationRequestBuilder
|
23306
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23302
23307
|
# @param [String] fields
|
23303
23308
|
# Selector specifying which fields to include in a partial response.
|
23304
23309
|
# @param [String] quota_user
|
@@ -23435,8 +23440,7 @@ module Google
|
|
23435
23440
|
# operation with the same request ID was received, and if so, will ignore the
|
23436
23441
|
# second request. This prevents clients from accidentally creating duplicate
|
23437
23442
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
23438
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23439
|
-
# MixerMutationRequestBuilder
|
23443
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23440
23444
|
# @param [String] fields
|
23441
23445
|
# Selector specifying which fields to include in a partial response.
|
23442
23446
|
# @param [String] quota_user
|
@@ -23525,8 +23529,7 @@ module Google
|
|
23525
23529
|
# operation with the same request ID was received, and if so, will ignore the
|
23526
23530
|
# second request. This prevents clients from accidentally creating duplicate
|
23527
23531
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
23528
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23529
|
-
# MixerMutationRequestBuilder
|
23532
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23530
23533
|
# @param [String] fields
|
23531
23534
|
# Selector specifying which fields to include in a partial response.
|
23532
23535
|
# @param [String] quota_user
|
@@ -23660,8 +23663,7 @@ module Google
|
|
23660
23663
|
# operation with the same request ID was received, and if so, will ignore the
|
23661
23664
|
# second request. This prevents clients from accidentally creating duplicate
|
23662
23665
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
23663
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23664
|
-
# MixerMutationRequestBuilder
|
23666
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23665
23667
|
# @param [String] fields
|
23666
23668
|
# Selector specifying which fields to include in a partial response.
|
23667
23669
|
# @param [String] quota_user
|
@@ -25154,7 +25156,10 @@ module Google
|
|
25154
25156
|
execute_or_queue_command(command, &block)
|
25155
25157
|
end
|
25156
25158
|
|
25157
|
-
# Creates a snapshot of
|
25159
|
+
# Creates a snapshot of a specified persistent disk. For regular snapshot
|
25160
|
+
# creation, consider using snapshots.insert instead, as that method supports
|
25161
|
+
# more features, such as creating snapshots in a project different from the
|
25162
|
+
# source disk project.
|
25158
25163
|
# @param [String] project
|
25159
25164
|
# Project ID for this request.
|
25160
25165
|
# @param [String] region
|
@@ -27918,20 +27923,17 @@ module Google
|
|
27918
27923
|
# stopInstances operation is marked DONE if the stopInstances request is
|
27919
27924
|
# successful. The underlying actions take additional time. You must separately
|
27920
27925
|
# verify the status of the STOPPING action with the listmanagedinstances method.
|
27921
|
-
# If the
|
27922
|
-
# the
|
27923
|
-
#
|
27924
|
-
#
|
27925
|
-
#
|
27926
|
-
#
|
27927
|
-
#
|
27928
|
-
#
|
27929
|
-
#
|
27930
|
-
#
|
27931
|
-
#
|
27932
|
-
# after the connection draining duration has elapsed before the VM instance is
|
27933
|
-
# suspended. Stopped instances can be started using the startInstances method.
|
27934
|
-
# You can specify a maximum of 1000 instances with this method per request.
|
27926
|
+
# If the standbyPolicy.initialDelaySec field is set, the group delays stopping
|
27927
|
+
# the instances until initialDelaySec have passed from instance.
|
27928
|
+
# creationTimestamp (that is, when the instance was created). This delay gives
|
27929
|
+
# your application time to set itself up and initialize on the instance. If more
|
27930
|
+
# than initialDelaySec seconds have passed since instance.creationTimestamp when
|
27931
|
+
# this method is called, there will be zero delay. If the group is part of a
|
27932
|
+
# backend service that has enabled connection draining, it can take up to 60
|
27933
|
+
# seconds after the connection draining duration has elapsed before the VM
|
27934
|
+
# instance is stopped. Stopped instances can be started using the startInstances
|
27935
|
+
# method. You can specify a maximum of 1000 instances with this method per
|
27936
|
+
# request.
|
27935
27937
|
# @param [String] project
|
27936
27938
|
# Project ID for this request.
|
27937
27939
|
# @param [String] region
|
@@ -27991,21 +27993,17 @@ module Google
|
|
27991
27993
|
# suspendInstances operation is marked DONE if the suspendInstances request is
|
27992
27994
|
# successful. The underlying actions take additional time. You must separately
|
27993
27995
|
# verify the status of the SUSPENDING action with the listmanagedinstances
|
27994
|
-
# method. If the
|
27995
|
-
#
|
27996
|
-
# is
|
27997
|
-
#
|
27998
|
-
#
|
27999
|
-
#
|
28000
|
-
#
|
28001
|
-
#
|
28002
|
-
#
|
28003
|
-
#
|
28004
|
-
#
|
28005
|
-
# can take up to 60 seconds after the connection draining duration has elapsed
|
28006
|
-
# before the VM instance is suspended. Suspended instances can be resumed using
|
28007
|
-
# the resumeInstances method. You can specify a maximum of 1000 instances with
|
28008
|
-
# this method per request.
|
27996
|
+
# method. If the standbyPolicy.initialDelaySec field is set, the group delays
|
27997
|
+
# suspension of the instances until initialDelaySec have passed from instance.
|
27998
|
+
# creationTimestamp (that is, when the instance was created). This delay gives
|
27999
|
+
# your application time to set itself up and initialize on the instance. If more
|
28000
|
+
# than initialDelaySec seconds have passed since instance.creationTimestamp when
|
28001
|
+
# this method is called, there will be zero delay. If the group is part of a
|
28002
|
+
# backend service that has enabled connection draining, it can take up to 60
|
28003
|
+
# seconds after the connection draining duration has elapsed before the VM
|
28004
|
+
# instance is suspended. Suspended instances can be resumed using the
|
28005
|
+
# resumeInstances method. You can specify a maximum of 1000 instances with this
|
28006
|
+
# method per request.
|
28009
28007
|
# @param [String] project
|
28010
28008
|
# Project ID for this request.
|
28011
28009
|
# @param [String] region
|
@@ -30118,56 +30116,23 @@ module Google
|
|
30118
30116
|
execute_or_queue_command(command, &block)
|
30119
30117
|
end
|
30120
30118
|
|
30121
|
-
#
|
30122
|
-
# available to the specified project.
|
30119
|
+
# Deletes the specified network.
|
30123
30120
|
# @param [String] project
|
30124
|
-
#
|
30125
|
-
# @param [String]
|
30126
|
-
#
|
30127
|
-
#
|
30128
|
-
#
|
30129
|
-
#
|
30130
|
-
#
|
30131
|
-
#
|
30132
|
-
#
|
30133
|
-
#
|
30134
|
-
#
|
30135
|
-
# with
|
30136
|
-
#
|
30137
|
-
#
|
30138
|
-
#
|
30139
|
-
# filter on multiple expressions, provide each separate expression within
|
30140
|
-
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
30141
|
-
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
30142
|
-
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
30143
|
-
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
30144
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
30145
|
-
# @param [Boolean] include_all_scopes
|
30146
|
-
# Indicates whether every visible scope for each scope type (zone, region,
|
30147
|
-
# global) should be included in the response. For new resource types added after
|
30148
|
-
# this field, the flag has no effect as new resource types will always include
|
30149
|
-
# every visible scope for each scope type in response. For resource types which
|
30150
|
-
# predate this field, if this flag is omitted or false, only scopes of the scope
|
30151
|
-
# types where the resource type is expected to be found will be included.
|
30152
|
-
# @param [Fixnum] max_results
|
30153
|
-
# The maximum number of results per page that should be returned. If the number
|
30154
|
-
# of available results is larger than `maxResults`, Compute Engine returns a `
|
30155
|
-
# nextPageToken` that can be used to get the next page of results in subsequent
|
30156
|
-
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
30157
|
-
# @param [String] order_by
|
30158
|
-
# Sorts list results by a certain order. By default, results are returned in
|
30159
|
-
# alphanumerical order based on the resource name. You can also sort results in
|
30160
|
-
# descending order based on the creation timestamp using `orderBy="
|
30161
|
-
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
30162
|
-
# field in reverse chronological order (newest result first). Use this to sort
|
30163
|
-
# resources like operations so that the newest operation is returned first.
|
30164
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
30165
|
-
# @param [String] page_token
|
30166
|
-
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
30167
|
-
# by a previous list request to get the next page of results.
|
30168
|
-
# @param [Boolean] return_partial_success
|
30169
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
30170
|
-
# failure. The default value is false.
|
30121
|
+
# Project ID for this request.
|
30122
|
+
# @param [String] region
|
30123
|
+
# Name of the region scoping this request.
|
30124
|
+
# @param [String] network
|
30125
|
+
# Name of the network to delete.
|
30126
|
+
# @param [String] request_id
|
30127
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
30128
|
+
# that if you must retry your request, the server will know to ignore the
|
30129
|
+
# request if it has already been completed. For example, consider a situation
|
30130
|
+
# where you make an initial request and the request times out. If you make the
|
30131
|
+
# request again with the same request ID, the server can check if original
|
30132
|
+
# operation with the same request ID was received, and if so, will ignore the
|
30133
|
+
# second request. This prevents clients from accidentally creating duplicate
|
30134
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
30135
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
30171
30136
|
# @param [String] fields
|
30172
30137
|
# Selector specifying which fields to include in a partial response.
|
30173
30138
|
# @param [String] quota_user
|
@@ -30179,49 +30144,35 @@ module Google
|
|
30179
30144
|
# Request-specific options
|
30180
30145
|
#
|
30181
30146
|
# @yield [result, err] Result & error if block supplied
|
30182
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
30147
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
30183
30148
|
# @yieldparam err [StandardError] error object if request failed
|
30184
30149
|
#
|
30185
|
-
# @return [Google::Apis::ComputeAlpha::
|
30150
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
30186
30151
|
#
|
30187
30152
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30188
30153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30189
30154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30190
|
-
def
|
30191
|
-
command = make_simple_command(:
|
30192
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
30193
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
30155
|
+
def delete_region_network(project, region, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30156
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/networks/{network}', options)
|
30157
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
30158
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
30194
30159
|
command.params['project'] = project unless project.nil?
|
30195
|
-
command.
|
30196
|
-
command.
|
30197
|
-
command.query['
|
30198
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
30199
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
30200
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
30160
|
+
command.params['region'] = region unless region.nil?
|
30161
|
+
command.params['network'] = network unless network.nil?
|
30162
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
30201
30163
|
command.query['fields'] = fields unless fields.nil?
|
30202
30164
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30203
30165
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
30204
30166
|
execute_or_queue_command(command, &block)
|
30205
30167
|
end
|
30206
30168
|
|
30207
|
-
#
|
30169
|
+
# Returns the specified network.
|
30208
30170
|
# @param [String] project
|
30209
30171
|
# Project ID for this request.
|
30210
30172
|
# @param [String] region
|
30211
30173
|
# Name of the region scoping this request.
|
30212
|
-
# @param [String]
|
30213
|
-
# Name of the
|
30214
|
-
# @param [String] request_id
|
30215
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
30216
|
-
# that if you must retry your request, the server will know to ignore the
|
30217
|
-
# request if it has already been completed. For example, consider a situation
|
30218
|
-
# where you make an initial request and the request times out. If you make the
|
30219
|
-
# request again with the same request ID, the server can check if original
|
30220
|
-
# operation with the same request ID was received, and if so, will ignore the
|
30221
|
-
# second request. This prevents clients from accidentally creating duplicate
|
30222
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
30223
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
30224
|
-
# MixerMutationRequestBuilder
|
30174
|
+
# @param [String] network
|
30175
|
+
# Name of the network to return.
|
30225
30176
|
# @param [String] fields
|
30226
30177
|
# Selector specifying which fields to include in a partial response.
|
30227
30178
|
# @param [String] quota_user
|
@@ -30233,35 +30184,37 @@ module Google
|
|
30233
30184
|
# Request-specific options
|
30234
30185
|
#
|
30235
30186
|
# @yield [result, err] Result & error if block supplied
|
30236
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
30187
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Network] parsed result object
|
30237
30188
|
# @yieldparam err [StandardError] error object if request failed
|
30238
30189
|
#
|
30239
|
-
# @return [Google::Apis::ComputeAlpha::
|
30190
|
+
# @return [Google::Apis::ComputeAlpha::Network]
|
30240
30191
|
#
|
30241
30192
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30242
30193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30243
30194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30244
|
-
def
|
30245
|
-
command = make_simple_command(:
|
30246
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
30247
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
30195
|
+
def get_region_network(project, region, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30196
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/networks/{network}', options)
|
30197
|
+
command.response_representation = Google::Apis::ComputeAlpha::Network::Representation
|
30198
|
+
command.response_class = Google::Apis::ComputeAlpha::Network
|
30248
30199
|
command.params['project'] = project unless project.nil?
|
30249
30200
|
command.params['region'] = region unless region.nil?
|
30250
|
-
command.params['
|
30251
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
30201
|
+
command.params['network'] = network unless network.nil?
|
30252
30202
|
command.query['fields'] = fields unless fields.nil?
|
30253
30203
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30254
30204
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
30255
30205
|
execute_or_queue_command(command, &block)
|
30256
30206
|
end
|
30257
30207
|
|
30258
|
-
#
|
30208
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
30209
|
+
# or resource exists.
|
30259
30210
|
# @param [String] project
|
30260
30211
|
# Project ID for this request.
|
30261
30212
|
# @param [String] region
|
30262
|
-
#
|
30263
|
-
# @param [String]
|
30264
|
-
# Name of the
|
30213
|
+
# The name of the region for this request.
|
30214
|
+
# @param [String] resource
|
30215
|
+
# Name or id of the resource for this request.
|
30216
|
+
# @param [Fixnum] options_requested_policy_version
|
30217
|
+
# Requested IAM Policy version.
|
30265
30218
|
# @param [String] fields
|
30266
30219
|
# Selector specifying which fields to include in a partial response.
|
30267
30220
|
# @param [String] quota_user
|
@@ -30273,34 +30226,35 @@ module Google
|
|
30273
30226
|
# Request-specific options
|
30274
30227
|
#
|
30275
30228
|
# @yield [result, err] Result & error if block supplied
|
30276
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
30229
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
30277
30230
|
# @yieldparam err [StandardError] error object if request failed
|
30278
30231
|
#
|
30279
|
-
# @return [Google::Apis::ComputeAlpha::
|
30232
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
30280
30233
|
#
|
30281
30234
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30282
30235
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30283
30236
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30284
|
-
def
|
30285
|
-
command = make_simple_command(:get, 'projects/{project}/regions/{region}/
|
30286
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
30287
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
30237
|
+
def get_region_network_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30238
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/networks/{resource}/getIamPolicy', options)
|
30239
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
30240
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
30288
30241
|
command.params['project'] = project unless project.nil?
|
30289
30242
|
command.params['region'] = region unless region.nil?
|
30290
|
-
command.params['
|
30243
|
+
command.params['resource'] = resource unless resource.nil?
|
30244
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
30291
30245
|
command.query['fields'] = fields unless fields.nil?
|
30292
30246
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30293
30247
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
30294
30248
|
execute_or_queue_command(command, &block)
|
30295
30249
|
end
|
30296
30250
|
|
30297
|
-
#
|
30298
|
-
#
|
30251
|
+
# Creates a network in the specified project and region using the data included
|
30252
|
+
# in the request.
|
30299
30253
|
# @param [String] project
|
30300
30254
|
# Project ID for this request.
|
30301
30255
|
# @param [String] region
|
30302
30256
|
# Name of the region scoping this request.
|
30303
|
-
# @param [Google::Apis::ComputeAlpha::
|
30257
|
+
# @param [Google::Apis::ComputeAlpha::Network] network_object
|
30304
30258
|
# @param [String] request_id
|
30305
30259
|
# An optional request ID to identify requests. Specify a unique request ID so
|
30306
30260
|
# that if you must retry your request, the server will know to ignore the
|
@@ -30310,8 +30264,7 @@ module Google
|
|
30310
30264
|
# operation with the same request ID was received, and if so, will ignore the
|
30311
30265
|
# second request. This prevents clients from accidentally creating duplicate
|
30312
30266
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
30313
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
30314
|
-
# MixerMutationRequestBuilder
|
30267
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
30315
30268
|
# @param [String] fields
|
30316
30269
|
# Selector specifying which fields to include in a partial response.
|
30317
30270
|
# @param [String] quota_user
|
@@ -30331,10 +30284,10 @@ module Google
|
|
30331
30284
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30332
30285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30333
30286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30334
|
-
def
|
30335
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/
|
30336
|
-
command.request_representation = Google::Apis::ComputeAlpha::
|
30337
|
-
command.request_object =
|
30287
|
+
def insert_region_network(project, region, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30288
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/networks', options)
|
30289
|
+
command.request_representation = Google::Apis::ComputeAlpha::Network::Representation
|
30290
|
+
command.request_object = network_object
|
30338
30291
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
30339
30292
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
30340
30293
|
command.params['project'] = project unless project.nil?
|
@@ -30346,7 +30299,8 @@ module Google
|
|
30346
30299
|
execute_or_queue_command(command, &block)
|
30347
30300
|
end
|
30348
30301
|
|
30349
|
-
#
|
30302
|
+
# Retrieves the list of networks available to the specified project in the given
|
30303
|
+
# region.
|
30350
30304
|
# @param [String] project
|
30351
30305
|
# Project ID for this request.
|
30352
30306
|
# @param [String] region
|
@@ -30401,18 +30355,18 @@ module Google
|
|
30401
30355
|
# Request-specific options
|
30402
30356
|
#
|
30403
30357
|
# @yield [result, err] Result & error if block supplied
|
30404
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
30358
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkList] parsed result object
|
30405
30359
|
# @yieldparam err [StandardError] error object if request failed
|
30406
30360
|
#
|
30407
|
-
# @return [Google::Apis::ComputeAlpha::
|
30361
|
+
# @return [Google::Apis::ComputeAlpha::NetworkList]
|
30408
30362
|
#
|
30409
30363
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30410
30364
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30411
30365
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30412
|
-
def
|
30413
|
-
command = make_simple_command(:get, 'projects/{project}/regions/{region}/
|
30414
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
30415
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
30366
|
+
def list_region_networks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30367
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/networks', options)
|
30368
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation
|
30369
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkList
|
30416
30370
|
command.params['project'] = project unless project.nil?
|
30417
30371
|
command.params['region'] = region unless region.nil?
|
30418
30372
|
command.query['filter'] = filter unless filter.nil?
|
@@ -30426,14 +30380,15 @@ module Google
|
|
30426
30380
|
execute_or_queue_command(command, &block)
|
30427
30381
|
end
|
30428
30382
|
|
30429
|
-
#
|
30383
|
+
# Sets the access control policy on the specified resource. Replaces any
|
30384
|
+
# existing policy.
|
30430
30385
|
# @param [String] project
|
30431
30386
|
# Project ID for this request.
|
30432
30387
|
# @param [String] region
|
30433
30388
|
# The name of the region for this request.
|
30434
30389
|
# @param [String] resource
|
30435
30390
|
# Name or id of the resource for this request.
|
30436
|
-
# @param [Google::Apis::ComputeAlpha::
|
30391
|
+
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
|
30437
30392
|
# @param [String] fields
|
30438
30393
|
# Selector specifying which fields to include in a partial response.
|
30439
30394
|
# @param [String] quota_user
|
@@ -30445,20 +30400,20 @@ module Google
|
|
30445
30400
|
# Request-specific options
|
30446
30401
|
#
|
30447
30402
|
# @yield [result, err] Result & error if block supplied
|
30448
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
30403
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
30449
30404
|
# @yieldparam err [StandardError] error object if request failed
|
30450
30405
|
#
|
30451
|
-
# @return [Google::Apis::ComputeAlpha::
|
30406
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
30452
30407
|
#
|
30453
30408
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30454
30409
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30455
30410
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30456
|
-
def
|
30457
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/
|
30458
|
-
command.request_representation = Google::Apis::ComputeAlpha::
|
30459
|
-
command.request_object =
|
30460
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
30461
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
30411
|
+
def set_region_network_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30412
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/networks/{resource}/setIamPolicy', options)
|
30413
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
|
30414
|
+
command.request_object = region_set_policy_request_object
|
30415
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
30416
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
30462
30417
|
command.params['project'] = project unless project.nil?
|
30463
30418
|
command.params['region'] = region unless region.nil?
|
30464
30419
|
command.params['resource'] = resource unless resource.nil?
|
@@ -30468,50 +30423,14 @@ module Google
|
|
30468
30423
|
execute_or_queue_command(command, &block)
|
30469
30424
|
end
|
30470
30425
|
|
30471
|
-
#
|
30472
|
-
# @param [String] project
|
30473
|
-
# Project ID for this request.
|
30474
|
-
# @param [String] region
|
30475
|
-
# Name of the region for this request.
|
30476
|
-
# @param [String] operation
|
30477
|
-
# Name of the Operations resource to delete.
|
30478
|
-
# @param [String] fields
|
30479
|
-
# Selector specifying which fields to include in a partial response.
|
30480
|
-
# @param [String] quota_user
|
30481
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
30482
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30483
|
-
# @param [String] user_ip
|
30484
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30485
|
-
# @param [Google::Apis::RequestOptions] options
|
30486
|
-
# Request-specific options
|
30487
|
-
#
|
30488
|
-
# @yield [result, err] Result & error if block supplied
|
30489
|
-
# @yieldparam result [NilClass] No result returned for this method
|
30490
|
-
# @yieldparam err [StandardError] error object if request failed
|
30491
|
-
#
|
30492
|
-
# @return [void]
|
30493
|
-
#
|
30494
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30495
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30496
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30497
|
-
def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30498
|
-
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/operations/{operation}', options)
|
30499
|
-
command.params['project'] = project unless project.nil?
|
30500
|
-
command.params['region'] = region unless region.nil?
|
30501
|
-
command.params['operation'] = operation unless operation.nil?
|
30502
|
-
command.query['fields'] = fields unless fields.nil?
|
30503
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30504
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
30505
|
-
execute_or_queue_command(command, &block)
|
30506
|
-
end
|
30507
|
-
|
30508
|
-
# Retrieves the specified region-specific Operations resource.
|
30426
|
+
# Returns permissions that a caller has on the specified resource.
|
30509
30427
|
# @param [String] project
|
30510
30428
|
# Project ID for this request.
|
30511
30429
|
# @param [String] region
|
30512
|
-
#
|
30513
|
-
# @param [String]
|
30514
|
-
# Name of the
|
30430
|
+
# The name of the region for this request.
|
30431
|
+
# @param [String] resource
|
30432
|
+
# Name or id of the resource for this request.
|
30433
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
30515
30434
|
# @param [String] fields
|
30516
30435
|
# Selector specifying which fields to include in a partial response.
|
30517
30436
|
# @param [String] quota_user
|
@@ -30523,32 +30442,458 @@ module Google
|
|
30523
30442
|
# Request-specific options
|
30524
30443
|
#
|
30525
30444
|
# @yield [result, err] Result & error if block supplied
|
30526
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
30445
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
30527
30446
|
# @yieldparam err [StandardError] error object if request failed
|
30528
30447
|
#
|
30529
|
-
# @return [Google::Apis::ComputeAlpha::
|
30448
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
30530
30449
|
#
|
30531
30450
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30532
30451
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30533
30452
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30534
|
-
def
|
30535
|
-
command = make_simple_command(:
|
30536
|
-
command.
|
30537
|
-
command.
|
30453
|
+
def test_region_network_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30454
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/networks/{resource}/testIamPermissions', options)
|
30455
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
30456
|
+
command.request_object = test_permissions_request_object
|
30457
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
30458
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
30538
30459
|
command.params['project'] = project unless project.nil?
|
30539
30460
|
command.params['region'] = region unless region.nil?
|
30540
|
-
command.params['
|
30461
|
+
command.params['resource'] = resource unless resource.nil?
|
30541
30462
|
command.query['fields'] = fields unless fields.nil?
|
30542
30463
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30543
30464
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
30544
30465
|
execute_or_queue_command(command, &block)
|
30545
30466
|
end
|
30546
30467
|
|
30547
|
-
# Retrieves
|
30468
|
+
# Retrieves the list of all NotificationEndpoint resources, regional and global,
|
30469
|
+
# available to the specified project.
|
30548
30470
|
# @param [String] project
|
30549
|
-
#
|
30550
|
-
# @param [String]
|
30551
|
-
#
|
30471
|
+
# Name of the project scoping this request.
|
30472
|
+
# @param [String] filter
|
30473
|
+
# A filter expression that filters resources listed in the response. The
|
30474
|
+
# expression must specify the field name, an operator, and the value that you
|
30475
|
+
# want to use for filtering. The value must be a string, a number, or a boolean.
|
30476
|
+
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
30477
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
30478
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
30479
|
+
# The `:` operator can be used with string fields to match substrings. For non-
|
30480
|
+
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
30481
|
+
# used to test whether a key has been defined. For example, to find all objects
|
30482
|
+
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
30483
|
+
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
30484
|
+
# to include instances only if they are not scheduled for automatic restarts.
|
30485
|
+
# You can use filtering on nested fields to filter based on resource labels. To
|
30486
|
+
# filter on multiple expressions, provide each separate expression within
|
30487
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
30488
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
30489
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
30490
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
30491
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
30492
|
+
# @param [Boolean] include_all_scopes
|
30493
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
30494
|
+
# global) should be included in the response. For new resource types added after
|
30495
|
+
# this field, the flag has no effect as new resource types will always include
|
30496
|
+
# every visible scope for each scope type in response. For resource types which
|
30497
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
30498
|
+
# types where the resource type is expected to be found will be included.
|
30499
|
+
# @param [Fixnum] max_results
|
30500
|
+
# The maximum number of results per page that should be returned. If the number
|
30501
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
30502
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
30503
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
30504
|
+
# @param [String] order_by
|
30505
|
+
# Sorts list results by a certain order. By default, results are returned in
|
30506
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
30507
|
+
# descending order based on the creation timestamp using `orderBy="
|
30508
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
30509
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
30510
|
+
# resources like operations so that the newest operation is returned first.
|
30511
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
30512
|
+
# @param [String] page_token
|
30513
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
30514
|
+
# by a previous list request to get the next page of results.
|
30515
|
+
# @param [Boolean] return_partial_success
|
30516
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
30517
|
+
# failure. The default value is false.
|
30518
|
+
# @param [String] fields
|
30519
|
+
# Selector specifying which fields to include in a partial response.
|
30520
|
+
# @param [String] quota_user
|
30521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30523
|
+
# @param [String] user_ip
|
30524
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30525
|
+
# @param [Google::Apis::RequestOptions] options
|
30526
|
+
# Request-specific options
|
30527
|
+
#
|
30528
|
+
# @yield [result, err] Result & error if block supplied
|
30529
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList] parsed result object
|
30530
|
+
# @yieldparam err [StandardError] error object if request failed
|
30531
|
+
#
|
30532
|
+
# @return [Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList]
|
30533
|
+
#
|
30534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30537
|
+
def aggregated_region_notification_endpoint_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30538
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/notificationEndpoints', options)
|
30539
|
+
command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList::Representation
|
30540
|
+
command.response_class = Google::Apis::ComputeAlpha::NotificationEndpointAggregatedList
|
30541
|
+
command.params['project'] = project unless project.nil?
|
30542
|
+
command.query['filter'] = filter unless filter.nil?
|
30543
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
30544
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
30545
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
30546
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
30547
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
30548
|
+
command.query['fields'] = fields unless fields.nil?
|
30549
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30550
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30551
|
+
execute_or_queue_command(command, &block)
|
30552
|
+
end
|
30553
|
+
|
30554
|
+
# Deletes the specified NotificationEndpoint in the given region
|
30555
|
+
# @param [String] project
|
30556
|
+
# Project ID for this request.
|
30557
|
+
# @param [String] region
|
30558
|
+
# Name of the region scoping this request.
|
30559
|
+
# @param [String] notification_endpoint
|
30560
|
+
# Name of the NotificationEndpoint resource to delete.
|
30561
|
+
# @param [String] request_id
|
30562
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
30563
|
+
# that if you must retry your request, the server will know to ignore the
|
30564
|
+
# request if it has already been completed. For example, consider a situation
|
30565
|
+
# where you make an initial request and the request times out. If you make the
|
30566
|
+
# request again with the same request ID, the server can check if original
|
30567
|
+
# operation with the same request ID was received, and if so, will ignore the
|
30568
|
+
# second request. This prevents clients from accidentally creating duplicate
|
30569
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
30570
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
30571
|
+
# @param [String] fields
|
30572
|
+
# Selector specifying which fields to include in a partial response.
|
30573
|
+
# @param [String] quota_user
|
30574
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30575
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30576
|
+
# @param [String] user_ip
|
30577
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30578
|
+
# @param [Google::Apis::RequestOptions] options
|
30579
|
+
# Request-specific options
|
30580
|
+
#
|
30581
|
+
# @yield [result, err] Result & error if block supplied
|
30582
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
30583
|
+
# @yieldparam err [StandardError] error object if request failed
|
30584
|
+
#
|
30585
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
30586
|
+
#
|
30587
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30588
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30589
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30590
|
+
def delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30591
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options)
|
30592
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
30593
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
30594
|
+
command.params['project'] = project unless project.nil?
|
30595
|
+
command.params['region'] = region unless region.nil?
|
30596
|
+
command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil?
|
30597
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
30598
|
+
command.query['fields'] = fields unless fields.nil?
|
30599
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30600
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30601
|
+
execute_or_queue_command(command, &block)
|
30602
|
+
end
|
30603
|
+
|
30604
|
+
# Returns the specified NotificationEndpoint resource in the given region.
|
30605
|
+
# @param [String] project
|
30606
|
+
# Project ID for this request.
|
30607
|
+
# @param [String] region
|
30608
|
+
# Name of the region scoping this request.
|
30609
|
+
# @param [String] notification_endpoint
|
30610
|
+
# Name of the NotificationEndpoint resource to return.
|
30611
|
+
# @param [String] fields
|
30612
|
+
# Selector specifying which fields to include in a partial response.
|
30613
|
+
# @param [String] quota_user
|
30614
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30615
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30616
|
+
# @param [String] user_ip
|
30617
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30618
|
+
# @param [Google::Apis::RequestOptions] options
|
30619
|
+
# Request-specific options
|
30620
|
+
#
|
30621
|
+
# @yield [result, err] Result & error if block supplied
|
30622
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NotificationEndpoint] parsed result object
|
30623
|
+
# @yieldparam err [StandardError] error object if request failed
|
30624
|
+
#
|
30625
|
+
# @return [Google::Apis::ComputeAlpha::NotificationEndpoint]
|
30626
|
+
#
|
30627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30630
|
+
def get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30631
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options)
|
30632
|
+
command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpoint::Representation
|
30633
|
+
command.response_class = Google::Apis::ComputeAlpha::NotificationEndpoint
|
30634
|
+
command.params['project'] = project unless project.nil?
|
30635
|
+
command.params['region'] = region unless region.nil?
|
30636
|
+
command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil?
|
30637
|
+
command.query['fields'] = fields unless fields.nil?
|
30638
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30639
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30640
|
+
execute_or_queue_command(command, &block)
|
30641
|
+
end
|
30642
|
+
|
30643
|
+
# Create a NotificationEndpoint in the specified project in the given region
|
30644
|
+
# using the parameters that are included in the request.
|
30645
|
+
# @param [String] project
|
30646
|
+
# Project ID for this request.
|
30647
|
+
# @param [String] region
|
30648
|
+
# Name of the region scoping this request.
|
30649
|
+
# @param [Google::Apis::ComputeAlpha::NotificationEndpoint] notification_endpoint_object
|
30650
|
+
# @param [String] request_id
|
30651
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
30652
|
+
# that if you must retry your request, the server will know to ignore the
|
30653
|
+
# request if it has already been completed. For example, consider a situation
|
30654
|
+
# where you make an initial request and the request times out. If you make the
|
30655
|
+
# request again with the same request ID, the server can check if original
|
30656
|
+
# operation with the same request ID was received, and if so, will ignore the
|
30657
|
+
# second request. This prevents clients from accidentally creating duplicate
|
30658
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
30659
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
30660
|
+
# @param [String] fields
|
30661
|
+
# Selector specifying which fields to include in a partial response.
|
30662
|
+
# @param [String] quota_user
|
30663
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30664
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30665
|
+
# @param [String] user_ip
|
30666
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30667
|
+
# @param [Google::Apis::RequestOptions] options
|
30668
|
+
# Request-specific options
|
30669
|
+
#
|
30670
|
+
# @yield [result, err] Result & error if block supplied
|
30671
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
30672
|
+
# @yieldparam err [StandardError] error object if request failed
|
30673
|
+
#
|
30674
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
30675
|
+
#
|
30676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30679
|
+
def insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30680
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints', options)
|
30681
|
+
command.request_representation = Google::Apis::ComputeAlpha::NotificationEndpoint::Representation
|
30682
|
+
command.request_object = notification_endpoint_object
|
30683
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
30684
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
30685
|
+
command.params['project'] = project unless project.nil?
|
30686
|
+
command.params['region'] = region unless region.nil?
|
30687
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
30688
|
+
command.query['fields'] = fields unless fields.nil?
|
30689
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30690
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30691
|
+
execute_or_queue_command(command, &block)
|
30692
|
+
end
|
30693
|
+
|
30694
|
+
# Lists the NotificationEndpoints for a project in the given region.
|
30695
|
+
# @param [String] project
|
30696
|
+
# Project ID for this request.
|
30697
|
+
# @param [String] region
|
30698
|
+
# Name of the region scoping this request.
|
30699
|
+
# @param [String] filter
|
30700
|
+
# A filter expression that filters resources listed in the response. The
|
30701
|
+
# expression must specify the field name, an operator, and the value that you
|
30702
|
+
# want to use for filtering. The value must be a string, a number, or a boolean.
|
30703
|
+
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
30704
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
30705
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
30706
|
+
# The `:` operator can be used with string fields to match substrings. For non-
|
30707
|
+
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
30708
|
+
# used to test whether a key has been defined. For example, to find all objects
|
30709
|
+
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
30710
|
+
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
30711
|
+
# to include instances only if they are not scheduled for automatic restarts.
|
30712
|
+
# You can use filtering on nested fields to filter based on resource labels. To
|
30713
|
+
# filter on multiple expressions, provide each separate expression within
|
30714
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
30715
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
30716
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
30717
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
30718
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
30719
|
+
# @param [Fixnum] max_results
|
30720
|
+
# The maximum number of results per page that should be returned. If the number
|
30721
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
30722
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
30723
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
30724
|
+
# @param [String] order_by
|
30725
|
+
# Sorts list results by a certain order. By default, results are returned in
|
30726
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
30727
|
+
# descending order based on the creation timestamp using `orderBy="
|
30728
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
30729
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
30730
|
+
# resources like operations so that the newest operation is returned first.
|
30731
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
30732
|
+
# @param [String] page_token
|
30733
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
30734
|
+
# by a previous list request to get the next page of results.
|
30735
|
+
# @param [Boolean] return_partial_success
|
30736
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
30737
|
+
# failure. The default value is false.
|
30738
|
+
# @param [String] fields
|
30739
|
+
# Selector specifying which fields to include in a partial response.
|
30740
|
+
# @param [String] quota_user
|
30741
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30742
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30743
|
+
# @param [String] user_ip
|
30744
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30745
|
+
# @param [Google::Apis::RequestOptions] options
|
30746
|
+
# Request-specific options
|
30747
|
+
#
|
30748
|
+
# @yield [result, err] Result & error if block supplied
|
30749
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NotificationEndpointList] parsed result object
|
30750
|
+
# @yieldparam err [StandardError] error object if request failed
|
30751
|
+
#
|
30752
|
+
# @return [Google::Apis::ComputeAlpha::NotificationEndpointList]
|
30753
|
+
#
|
30754
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30755
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30756
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30757
|
+
def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30758
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints', options)
|
30759
|
+
command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpointList::Representation
|
30760
|
+
command.response_class = Google::Apis::ComputeAlpha::NotificationEndpointList
|
30761
|
+
command.params['project'] = project unless project.nil?
|
30762
|
+
command.params['region'] = region unless region.nil?
|
30763
|
+
command.query['filter'] = filter unless filter.nil?
|
30764
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
30765
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
30766
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
30767
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
30768
|
+
command.query['fields'] = fields unless fields.nil?
|
30769
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30770
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30771
|
+
execute_or_queue_command(command, &block)
|
30772
|
+
end
|
30773
|
+
|
30774
|
+
# Returns permissions that a caller has on the specified resource.
|
30775
|
+
# @param [String] project
|
30776
|
+
# Project ID for this request.
|
30777
|
+
# @param [String] region
|
30778
|
+
# The name of the region for this request.
|
30779
|
+
# @param [String] resource
|
30780
|
+
# Name or id of the resource for this request.
|
30781
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
30782
|
+
# @param [String] fields
|
30783
|
+
# Selector specifying which fields to include in a partial response.
|
30784
|
+
# @param [String] quota_user
|
30785
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30786
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30787
|
+
# @param [String] user_ip
|
30788
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30789
|
+
# @param [Google::Apis::RequestOptions] options
|
30790
|
+
# Request-specific options
|
30791
|
+
#
|
30792
|
+
# @yield [result, err] Result & error if block supplied
|
30793
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
30794
|
+
# @yieldparam err [StandardError] error object if request failed
|
30795
|
+
#
|
30796
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
30797
|
+
#
|
30798
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30799
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30800
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30801
|
+
def test_region_notification_endpoint_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30802
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions', options)
|
30803
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
30804
|
+
command.request_object = test_permissions_request_object
|
30805
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
30806
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
30807
|
+
command.params['project'] = project unless project.nil?
|
30808
|
+
command.params['region'] = region unless region.nil?
|
30809
|
+
command.params['resource'] = resource unless resource.nil?
|
30810
|
+
command.query['fields'] = fields unless fields.nil?
|
30811
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30812
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30813
|
+
execute_or_queue_command(command, &block)
|
30814
|
+
end
|
30815
|
+
|
30816
|
+
# Deletes the specified region-specific Operations resource.
|
30817
|
+
# @param [String] project
|
30818
|
+
# Project ID for this request.
|
30819
|
+
# @param [String] region
|
30820
|
+
# Name of the region for this request.
|
30821
|
+
# @param [String] operation
|
30822
|
+
# Name of the Operations resource to delete.
|
30823
|
+
# @param [String] fields
|
30824
|
+
# Selector specifying which fields to include in a partial response.
|
30825
|
+
# @param [String] quota_user
|
30826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30828
|
+
# @param [String] user_ip
|
30829
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30830
|
+
# @param [Google::Apis::RequestOptions] options
|
30831
|
+
# Request-specific options
|
30832
|
+
#
|
30833
|
+
# @yield [result, err] Result & error if block supplied
|
30834
|
+
# @yieldparam result [NilClass] No result returned for this method
|
30835
|
+
# @yieldparam err [StandardError] error object if request failed
|
30836
|
+
#
|
30837
|
+
# @return [void]
|
30838
|
+
#
|
30839
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30840
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30841
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30842
|
+
def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30843
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/operations/{operation}', options)
|
30844
|
+
command.params['project'] = project unless project.nil?
|
30845
|
+
command.params['region'] = region unless region.nil?
|
30846
|
+
command.params['operation'] = operation unless operation.nil?
|
30847
|
+
command.query['fields'] = fields unless fields.nil?
|
30848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30849
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30850
|
+
execute_or_queue_command(command, &block)
|
30851
|
+
end
|
30852
|
+
|
30853
|
+
# Retrieves the specified region-specific Operations resource.
|
30854
|
+
# @param [String] project
|
30855
|
+
# Project ID for this request.
|
30856
|
+
# @param [String] region
|
30857
|
+
# Name of the region for this request.
|
30858
|
+
# @param [String] operation
|
30859
|
+
# Name of the Operations resource to return.
|
30860
|
+
# @param [String] fields
|
30861
|
+
# Selector specifying which fields to include in a partial response.
|
30862
|
+
# @param [String] quota_user
|
30863
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30864
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30865
|
+
# @param [String] user_ip
|
30866
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
30867
|
+
# @param [Google::Apis::RequestOptions] options
|
30868
|
+
# Request-specific options
|
30869
|
+
#
|
30870
|
+
# @yield [result, err] Result & error if block supplied
|
30871
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
30872
|
+
# @yieldparam err [StandardError] error object if request failed
|
30873
|
+
#
|
30874
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
30875
|
+
#
|
30876
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30877
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30878
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30879
|
+
def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30880
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations/{operation}', options)
|
30881
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
30882
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
30883
|
+
command.params['project'] = project unless project.nil?
|
30884
|
+
command.params['region'] = region unless region.nil?
|
30885
|
+
command.params['operation'] = operation unless operation.nil?
|
30886
|
+
command.query['fields'] = fields unless fields.nil?
|
30887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30888
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30889
|
+
execute_or_queue_command(command, &block)
|
30890
|
+
end
|
30891
|
+
|
30892
|
+
# Retrieves a list of Operation resources contained within the specified region.
|
30893
|
+
# @param [String] project
|
30894
|
+
# Project ID for this request.
|
30895
|
+
# @param [String] region
|
30896
|
+
# Name of the region for this request.
|
30552
30897
|
# @param [String] filter
|
30553
30898
|
# A filter expression that filters resources listed in the response. The
|
30554
30899
|
# expression must specify the field name, an operator, and the value that you
|
@@ -30933,15 +31278,331 @@ module Google
|
|
30933
31278
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30934
31279
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30935
31280
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30936
|
-
def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
30937
|
-
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
|
30938
|
-
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation
|
30939
|
-
command.request_object = security_policy_object
|
31281
|
+
def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31282
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
|
31283
|
+
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation
|
31284
|
+
command.request_object = security_policy_object
|
31285
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
31286
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
31287
|
+
command.params['project'] = project unless project.nil?
|
31288
|
+
command.params['region'] = region unless region.nil?
|
31289
|
+
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
31290
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
31291
|
+
command.query['fields'] = fields unless fields.nil?
|
31292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31294
|
+
execute_or_queue_command(command, &block)
|
31295
|
+
end
|
31296
|
+
|
31297
|
+
# Deletes the specified SslCertificate resource in the region.
|
31298
|
+
# @param [String] project
|
31299
|
+
# Project ID for this request.
|
31300
|
+
# @param [String] region
|
31301
|
+
# Name of the region scoping this request.
|
31302
|
+
# @param [String] ssl_certificate
|
31303
|
+
# Name of the SslCertificate resource to delete.
|
31304
|
+
# @param [String] request_id
|
31305
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
31306
|
+
# that if you must retry your request, the server will know to ignore the
|
31307
|
+
# request if it has already been completed. For example, consider a situation
|
31308
|
+
# where you make an initial request and the request times out. If you make the
|
31309
|
+
# request again with the same request ID, the server can check if original
|
31310
|
+
# operation with the same request ID was received, and if so, will ignore the
|
31311
|
+
# second request. This prevents clients from accidentally creating duplicate
|
31312
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
31313
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31314
|
+
# @param [String] fields
|
31315
|
+
# Selector specifying which fields to include in a partial response.
|
31316
|
+
# @param [String] quota_user
|
31317
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31318
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31319
|
+
# @param [String] user_ip
|
31320
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31321
|
+
# @param [Google::Apis::RequestOptions] options
|
31322
|
+
# Request-specific options
|
31323
|
+
#
|
31324
|
+
# @yield [result, err] Result & error if block supplied
|
31325
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
31326
|
+
# @yieldparam err [StandardError] error object if request failed
|
31327
|
+
#
|
31328
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
31329
|
+
#
|
31330
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31331
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31332
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31333
|
+
def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31334
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
|
31335
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
31336
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
31337
|
+
command.params['project'] = project unless project.nil?
|
31338
|
+
command.params['region'] = region unless region.nil?
|
31339
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
31340
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
31341
|
+
command.query['fields'] = fields unless fields.nil?
|
31342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31343
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31344
|
+
execute_or_queue_command(command, &block)
|
31345
|
+
end
|
31346
|
+
|
31347
|
+
# Returns the specified SslCertificate resource in the specified region. Get a
|
31348
|
+
# list of available SSL certificates by making a list() request.
|
31349
|
+
# @param [String] project
|
31350
|
+
# Project ID for this request.
|
31351
|
+
# @param [String] region
|
31352
|
+
# Name of the region scoping this request.
|
31353
|
+
# @param [String] ssl_certificate
|
31354
|
+
# Name of the SslCertificate resource to return.
|
31355
|
+
# @param [String] fields
|
31356
|
+
# Selector specifying which fields to include in a partial response.
|
31357
|
+
# @param [String] quota_user
|
31358
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31359
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31360
|
+
# @param [String] user_ip
|
31361
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31362
|
+
# @param [Google::Apis::RequestOptions] options
|
31363
|
+
# Request-specific options
|
31364
|
+
#
|
31365
|
+
# @yield [result, err] Result & error if block supplied
|
31366
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificate] parsed result object
|
31367
|
+
# @yieldparam err [StandardError] error object if request failed
|
31368
|
+
#
|
31369
|
+
# @return [Google::Apis::ComputeAlpha::SslCertificate]
|
31370
|
+
#
|
31371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31374
|
+
def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31375
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options)
|
31376
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
|
31377
|
+
command.response_class = Google::Apis::ComputeAlpha::SslCertificate
|
31378
|
+
command.params['project'] = project unless project.nil?
|
31379
|
+
command.params['region'] = region unless region.nil?
|
31380
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
31381
|
+
command.query['fields'] = fields unless fields.nil?
|
31382
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31383
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31384
|
+
execute_or_queue_command(command, &block)
|
31385
|
+
end
|
31386
|
+
|
31387
|
+
# Creates a SslCertificate resource in the specified project and region using
|
31388
|
+
# the data included in the request
|
31389
|
+
# @param [String] project
|
31390
|
+
# Project ID for this request.
|
31391
|
+
# @param [String] region
|
31392
|
+
# Name of the region scoping this request.
|
31393
|
+
# @param [Google::Apis::ComputeAlpha::SslCertificate] ssl_certificate_object
|
31394
|
+
# @param [String] request_id
|
31395
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
31396
|
+
# that if you must retry your request, the server will know to ignore the
|
31397
|
+
# request if it has already been completed. For example, consider a situation
|
31398
|
+
# where you make an initial request and the request times out. If you make the
|
31399
|
+
# request again with the same request ID, the server can check if original
|
31400
|
+
# operation with the same request ID was received, and if so, will ignore the
|
31401
|
+
# second request. This prevents clients from accidentally creating duplicate
|
31402
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
31403
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31404
|
+
# @param [String] fields
|
31405
|
+
# Selector specifying which fields to include in a partial response.
|
31406
|
+
# @param [String] quota_user
|
31407
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31408
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31409
|
+
# @param [String] user_ip
|
31410
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31411
|
+
# @param [Google::Apis::RequestOptions] options
|
31412
|
+
# Request-specific options
|
31413
|
+
#
|
31414
|
+
# @yield [result, err] Result & error if block supplied
|
31415
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
31416
|
+
# @yieldparam err [StandardError] error object if request failed
|
31417
|
+
#
|
31418
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
31419
|
+
#
|
31420
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31421
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31422
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31423
|
+
def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31424
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates', options)
|
31425
|
+
command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
|
31426
|
+
command.request_object = ssl_certificate_object
|
31427
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
31428
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
31429
|
+
command.params['project'] = project unless project.nil?
|
31430
|
+
command.params['region'] = region unless region.nil?
|
31431
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
31432
|
+
command.query['fields'] = fields unless fields.nil?
|
31433
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31434
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31435
|
+
execute_or_queue_command(command, &block)
|
31436
|
+
end
|
31437
|
+
|
31438
|
+
# Retrieves the list of SslCertificate resources available to the specified
|
31439
|
+
# project in the specified region.
|
31440
|
+
# @param [String] project
|
31441
|
+
# Project ID for this request.
|
31442
|
+
# @param [String] region
|
31443
|
+
# Name of the region scoping this request.
|
31444
|
+
# @param [String] filter
|
31445
|
+
# A filter expression that filters resources listed in the response. The
|
31446
|
+
# expression must specify the field name, an operator, and the value that you
|
31447
|
+
# want to use for filtering. The value must be a string, a number, or a boolean.
|
31448
|
+
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
31449
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
31450
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
31451
|
+
# The `:` operator can be used with string fields to match substrings. For non-
|
31452
|
+
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
31453
|
+
# used to test whether a key has been defined. For example, to find all objects
|
31454
|
+
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
31455
|
+
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
31456
|
+
# to include instances only if they are not scheduled for automatic restarts.
|
31457
|
+
# You can use filtering on nested fields to filter based on resource labels. To
|
31458
|
+
# filter on multiple expressions, provide each separate expression within
|
31459
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
31460
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
31461
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
31462
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
31463
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
31464
|
+
# @param [Fixnum] max_results
|
31465
|
+
# The maximum number of results per page that should be returned. If the number
|
31466
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
31467
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
31468
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
31469
|
+
# @param [String] order_by
|
31470
|
+
# Sorts list results by a certain order. By default, results are returned in
|
31471
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
31472
|
+
# descending order based on the creation timestamp using `orderBy="
|
31473
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
31474
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
31475
|
+
# resources like operations so that the newest operation is returned first.
|
31476
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
31477
|
+
# @param [String] page_token
|
31478
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
31479
|
+
# by a previous list request to get the next page of results.
|
31480
|
+
# @param [Boolean] return_partial_success
|
31481
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
31482
|
+
# failure. The default value is false.
|
31483
|
+
# @param [String] fields
|
31484
|
+
# Selector specifying which fields to include in a partial response.
|
31485
|
+
# @param [String] quota_user
|
31486
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31487
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31488
|
+
# @param [String] user_ip
|
31489
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31490
|
+
# @param [Google::Apis::RequestOptions] options
|
31491
|
+
# Request-specific options
|
31492
|
+
#
|
31493
|
+
# @yield [result, err] Result & error if block supplied
|
31494
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateList] parsed result object
|
31495
|
+
# @yieldparam err [StandardError] error object if request failed
|
31496
|
+
#
|
31497
|
+
# @return [Google::Apis::ComputeAlpha::SslCertificateList]
|
31498
|
+
#
|
31499
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31500
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31501
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31502
|
+
def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31503
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates', options)
|
31504
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation
|
31505
|
+
command.response_class = Google::Apis::ComputeAlpha::SslCertificateList
|
31506
|
+
command.params['project'] = project unless project.nil?
|
31507
|
+
command.params['region'] = region unless region.nil?
|
31508
|
+
command.query['filter'] = filter unless filter.nil?
|
31509
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
31510
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
31511
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
31512
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
31513
|
+
command.query['fields'] = fields unless fields.nil?
|
31514
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31515
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31516
|
+
execute_or_queue_command(command, &block)
|
31517
|
+
end
|
31518
|
+
|
31519
|
+
# Returns permissions that a caller has on the specified resource and region.
|
31520
|
+
# @param [String] project
|
31521
|
+
# Project ID for this request.
|
31522
|
+
# @param [String] region
|
31523
|
+
# The name of the region for this request.
|
31524
|
+
# @param [String] resource
|
31525
|
+
# Name or id of the resource for this request.
|
31526
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
31527
|
+
# @param [String] fields
|
31528
|
+
# Selector specifying which fields to include in a partial response.
|
31529
|
+
# @param [String] quota_user
|
31530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31532
|
+
# @param [String] user_ip
|
31533
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31534
|
+
# @param [Google::Apis::RequestOptions] options
|
31535
|
+
# Request-specific options
|
31536
|
+
#
|
31537
|
+
# @yield [result, err] Result & error if block supplied
|
31538
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
31539
|
+
# @yieldparam err [StandardError] error object if request failed
|
31540
|
+
#
|
31541
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
31542
|
+
#
|
31543
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31544
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31545
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31546
|
+
def test_region_ssl_certificate_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31547
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions', options)
|
31548
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
31549
|
+
command.request_object = test_permissions_request_object
|
31550
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
31551
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
31552
|
+
command.params['project'] = project unless project.nil?
|
31553
|
+
command.params['region'] = region unless region.nil?
|
31554
|
+
command.params['resource'] = resource unless resource.nil?
|
31555
|
+
command.query['fields'] = fields unless fields.nil?
|
31556
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31557
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31558
|
+
execute_or_queue_command(command, &block)
|
31559
|
+
end
|
31560
|
+
|
31561
|
+
# Deletes the specified SSL policy. The SSL policy resource can be deleted only
|
31562
|
+
# if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
|
31563
|
+
# @param [String] project
|
31564
|
+
# Project ID for this request.
|
31565
|
+
# @param [String] region
|
31566
|
+
# Name of the region scoping this request.
|
31567
|
+
# @param [String] ssl_policy
|
31568
|
+
# Name of the SSL policy to delete. The name must be 1-63 characters long, and
|
31569
|
+
# comply with RFC1035.
|
31570
|
+
# @param [String] request_id
|
31571
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
31572
|
+
# that if you must retry your request, the server will know to ignore the
|
31573
|
+
# request if it has already been completed. For example, consider a situation
|
31574
|
+
# where you make an initial request and the request times out. If you make the
|
31575
|
+
# request again with the same request ID, the server can check if original
|
31576
|
+
# operation with the same request ID was received, and if so, will ignore the
|
31577
|
+
# second request. This prevents clients from accidentally creating duplicate
|
31578
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
31579
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31580
|
+
# @param [String] fields
|
31581
|
+
# Selector specifying which fields to include in a partial response.
|
31582
|
+
# @param [String] quota_user
|
31583
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31584
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31585
|
+
# @param [String] user_ip
|
31586
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31587
|
+
# @param [Google::Apis::RequestOptions] options
|
31588
|
+
# Request-specific options
|
31589
|
+
#
|
31590
|
+
# @yield [result, err] Result & error if block supplied
|
31591
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
31592
|
+
# @yieldparam err [StandardError] error object if request failed
|
31593
|
+
#
|
31594
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
31595
|
+
#
|
31596
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31597
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31598
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31599
|
+
def delete_region_ssl_policy(project, region, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31600
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
|
30940
31601
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
30941
31602
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
30942
31603
|
command.params['project'] = project unless project.nil?
|
30943
31604
|
command.params['region'] = region unless region.nil?
|
30944
|
-
command.params['
|
31605
|
+
command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
|
30945
31606
|
command.query['requestId'] = request_id unless request_id.nil?
|
30946
31607
|
command.query['fields'] = fields unless fields.nil?
|
30947
31608
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -30949,24 +31610,14 @@ module Google
|
|
30949
31610
|
execute_or_queue_command(command, &block)
|
30950
31611
|
end
|
30951
31612
|
|
30952
|
-
#
|
31613
|
+
# Lists all of the ordered rules present in a single specified policy.
|
30953
31614
|
# @param [String] project
|
30954
31615
|
# Project ID for this request.
|
30955
31616
|
# @param [String] region
|
30956
31617
|
# Name of the region scoping this request.
|
30957
|
-
# @param [String]
|
30958
|
-
# Name of the
|
30959
|
-
#
|
30960
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
30961
|
-
# that if you must retry your request, the server will know to ignore the
|
30962
|
-
# request if it has already been completed. For example, consider a situation
|
30963
|
-
# where you make an initial request and the request times out. If you make the
|
30964
|
-
# request again with the same request ID, the server can check if original
|
30965
|
-
# operation with the same request ID was received, and if so, will ignore the
|
30966
|
-
# second request. This prevents clients from accidentally creating duplicate
|
30967
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
30968
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
30969
|
-
# MixerMutationRequestBuilder
|
31618
|
+
# @param [String] ssl_policy
|
31619
|
+
# Name of the SSL policy to update. The name must be 1-63 characters long, and
|
31620
|
+
# comply with RFC1035.
|
30970
31621
|
# @param [String] fields
|
30971
31622
|
# Selector specifying which fields to include in a partial response.
|
30972
31623
|
# @param [String] quota_user
|
@@ -30978,36 +31629,37 @@ module Google
|
|
30978
31629
|
# Request-specific options
|
30979
31630
|
#
|
30980
31631
|
# @yield [result, err] Result & error if block supplied
|
30981
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
31632
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslPolicy] parsed result object
|
30982
31633
|
# @yieldparam err [StandardError] error object if request failed
|
30983
31634
|
#
|
30984
|
-
# @return [Google::Apis::ComputeAlpha::
|
31635
|
+
# @return [Google::Apis::ComputeAlpha::SslPolicy]
|
30985
31636
|
#
|
30986
31637
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30987
31638
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30988
31639
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30989
|
-
def
|
30990
|
-
command = make_simple_command(:
|
30991
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
30992
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
31640
|
+
def get_region_ssl_policy(project, region, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31641
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
|
31642
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
|
31643
|
+
command.response_class = Google::Apis::ComputeAlpha::SslPolicy
|
30993
31644
|
command.params['project'] = project unless project.nil?
|
30994
31645
|
command.params['region'] = region unless region.nil?
|
30995
|
-
command.params['
|
30996
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
31646
|
+
command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
|
30997
31647
|
command.query['fields'] = fields unless fields.nil?
|
30998
31648
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30999
31649
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
31000
31650
|
execute_or_queue_command(command, &block)
|
31001
31651
|
end
|
31002
31652
|
|
31003
|
-
#
|
31004
|
-
#
|
31653
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
31654
|
+
# or resource exists.
|
31005
31655
|
# @param [String] project
|
31006
31656
|
# Project ID for this request.
|
31007
31657
|
# @param [String] region
|
31008
|
-
#
|
31009
|
-
# @param [String]
|
31010
|
-
# Name of the
|
31658
|
+
# The name of the region for this request.
|
31659
|
+
# @param [String] resource
|
31660
|
+
# Name or id of the resource for this request.
|
31661
|
+
# @param [Fixnum] options_requested_policy_version
|
31662
|
+
# Requested IAM Policy version.
|
31011
31663
|
# @param [String] fields
|
31012
31664
|
# Selector specifying which fields to include in a partial response.
|
31013
31665
|
# @param [String] quota_user
|
@@ -31019,34 +31671,35 @@ module Google
|
|
31019
31671
|
# Request-specific options
|
31020
31672
|
#
|
31021
31673
|
# @yield [result, err] Result & error if block supplied
|
31022
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
31674
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
31023
31675
|
# @yieldparam err [StandardError] error object if request failed
|
31024
31676
|
#
|
31025
|
-
# @return [Google::Apis::ComputeAlpha::
|
31677
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
31026
31678
|
#
|
31027
31679
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31028
31680
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31029
31681
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31030
|
-
def
|
31031
|
-
command = make_simple_command(:get, 'projects/{project}/regions/{region}/
|
31032
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
31033
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
31682
|
+
def get_region_ssl_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31683
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy', options)
|
31684
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
31685
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
31034
31686
|
command.params['project'] = project unless project.nil?
|
31035
31687
|
command.params['region'] = region unless region.nil?
|
31036
|
-
command.params['
|
31688
|
+
command.params['resource'] = resource unless resource.nil?
|
31689
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
31037
31690
|
command.query['fields'] = fields unless fields.nil?
|
31038
31691
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31039
31692
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
31040
31693
|
execute_or_queue_command(command, &block)
|
31041
31694
|
end
|
31042
31695
|
|
31043
|
-
# Creates a
|
31044
|
-
#
|
31696
|
+
# Creates a new policy in the specified project and region using the data
|
31697
|
+
# included in the request.
|
31045
31698
|
# @param [String] project
|
31046
31699
|
# Project ID for this request.
|
31047
31700
|
# @param [String] region
|
31048
31701
|
# Name of the region scoping this request.
|
31049
|
-
# @param [Google::Apis::ComputeAlpha::
|
31702
|
+
# @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
|
31050
31703
|
# @param [String] request_id
|
31051
31704
|
# An optional request ID to identify requests. Specify a unique request ID so
|
31052
31705
|
# that if you must retry your request, the server will know to ignore the
|
@@ -31056,8 +31709,7 @@ module Google
|
|
31056
31709
|
# operation with the same request ID was received, and if so, will ignore the
|
31057
31710
|
# second request. This prevents clients from accidentally creating duplicate
|
31058
31711
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
31059
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31060
|
-
# MixerMutationRequestBuilder
|
31712
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31061
31713
|
# @param [String] fields
|
31062
31714
|
# Selector specifying which fields to include in a partial response.
|
31063
31715
|
# @param [String] quota_user
|
@@ -31077,10 +31729,10 @@ module Google
|
|
31077
31729
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31078
31730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31079
31731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31080
|
-
def
|
31081
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/
|
31082
|
-
command.request_representation = Google::Apis::ComputeAlpha::
|
31083
|
-
command.request_object =
|
31732
|
+
def insert_region_ssl_policy(project, region, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31733
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies', options)
|
31734
|
+
command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
|
31735
|
+
command.request_object = ssl_policy_object
|
31084
31736
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
31085
31737
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
31086
31738
|
command.params['project'] = project unless project.nil?
|
@@ -31092,8 +31744,8 @@ module Google
|
|
31092
31744
|
execute_or_queue_command(command, &block)
|
31093
31745
|
end
|
31094
31746
|
|
31095
|
-
#
|
31096
|
-
#
|
31747
|
+
# Lists all the SSL policies that have been configured for the specified project
|
31748
|
+
# and region.
|
31097
31749
|
# @param [String] project
|
31098
31750
|
# Project ID for this request.
|
31099
31751
|
# @param [String] region
|
@@ -31148,18 +31800,18 @@ module Google
|
|
31148
31800
|
# Request-specific options
|
31149
31801
|
#
|
31150
31802
|
# @yield [result, err] Result & error if block supplied
|
31151
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
31803
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslPoliciesList] parsed result object
|
31152
31804
|
# @yieldparam err [StandardError] error object if request failed
|
31153
31805
|
#
|
31154
|
-
# @return [Google::Apis::ComputeAlpha::
|
31806
|
+
# @return [Google::Apis::ComputeAlpha::SslPoliciesList]
|
31155
31807
|
#
|
31156
31808
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31157
31809
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31158
31810
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31159
|
-
def
|
31160
|
-
command = make_simple_command(:get, 'projects/{project}/regions/{region}/
|
31161
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
31162
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
31811
|
+
def list_region_ssl_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31812
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies', options)
|
31813
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesList::Representation
|
31814
|
+
command.response_class = Google::Apis::ComputeAlpha::SslPoliciesList
|
31163
31815
|
command.params['project'] = project unless project.nil?
|
31164
31816
|
command.params['region'] = region unless region.nil?
|
31165
31817
|
command.query['filter'] = filter unless filter.nil?
|
@@ -31173,7 +31825,142 @@ module Google
|
|
31173
31825
|
execute_or_queue_command(command, &block)
|
31174
31826
|
end
|
31175
31827
|
|
31176
|
-
#
|
31828
|
+
# Lists all features that can be specified in the SSL policy when using custom
|
31829
|
+
# profile.
|
31830
|
+
# @param [String] project
|
31831
|
+
# Project ID for this request.
|
31832
|
+
# @param [String] region
|
31833
|
+
# Name of the region scoping this request.
|
31834
|
+
# @param [String] filter
|
31835
|
+
# A filter expression that filters resources listed in the response. The
|
31836
|
+
# expression must specify the field name, an operator, and the value that you
|
31837
|
+
# want to use for filtering. The value must be a string, a number, or a boolean.
|
31838
|
+
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
31839
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
31840
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
31841
|
+
# The `:` operator can be used with string fields to match substrings. For non-
|
31842
|
+
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
31843
|
+
# used to test whether a key has been defined. For example, to find all objects
|
31844
|
+
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
31845
|
+
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
31846
|
+
# to include instances only if they are not scheduled for automatic restarts.
|
31847
|
+
# You can use filtering on nested fields to filter based on resource labels. To
|
31848
|
+
# filter on multiple expressions, provide each separate expression within
|
31849
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
31850
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
31851
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
31852
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
31853
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
31854
|
+
# @param [Fixnum] max_results
|
31855
|
+
# The maximum number of results per page that should be returned. If the number
|
31856
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
31857
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
31858
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
31859
|
+
# @param [String] order_by
|
31860
|
+
# Sorts list results by a certain order. By default, results are returned in
|
31861
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
31862
|
+
# descending order based on the creation timestamp using `orderBy="
|
31863
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
31864
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
31865
|
+
# resources like operations so that the newest operation is returned first.
|
31866
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
31867
|
+
# @param [String] page_token
|
31868
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
31869
|
+
# by a previous list request to get the next page of results.
|
31870
|
+
# @param [Boolean] return_partial_success
|
31871
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
31872
|
+
# failure. The default value is false.
|
31873
|
+
# @param [String] fields
|
31874
|
+
# Selector specifying which fields to include in a partial response.
|
31875
|
+
# @param [String] quota_user
|
31876
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31877
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31878
|
+
# @param [String] user_ip
|
31879
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31880
|
+
# @param [Google::Apis::RequestOptions] options
|
31881
|
+
# Request-specific options
|
31882
|
+
#
|
31883
|
+
# @yield [result, err] Result & error if block supplied
|
31884
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse] parsed result object
|
31885
|
+
# @yieldparam err [StandardError] error object if request failed
|
31886
|
+
#
|
31887
|
+
# @return [Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse]
|
31888
|
+
#
|
31889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31892
|
+
def list_region_ssl_policy_available_features(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31893
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures', options)
|
31894
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse::Representation
|
31895
|
+
command.response_class = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse
|
31896
|
+
command.params['project'] = project unless project.nil?
|
31897
|
+
command.params['region'] = region unless region.nil?
|
31898
|
+
command.query['filter'] = filter unless filter.nil?
|
31899
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
31900
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
31901
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
31902
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
31903
|
+
command.query['fields'] = fields unless fields.nil?
|
31904
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31905
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31906
|
+
execute_or_queue_command(command, &block)
|
31907
|
+
end
|
31908
|
+
|
31909
|
+
# Patches the specified SSL policy with the data included in the request.
|
31910
|
+
# @param [String] project
|
31911
|
+
# Project ID for this request.
|
31912
|
+
# @param [String] region
|
31913
|
+
# Name of the region scoping this request.
|
31914
|
+
# @param [String] ssl_policy
|
31915
|
+
# Name of the SSL policy to update. The name must be 1-63 characters long, and
|
31916
|
+
# comply with RFC1035.
|
31917
|
+
# @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
|
31918
|
+
# @param [String] request_id
|
31919
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
31920
|
+
# that if you must retry your request, the server will know to ignore the
|
31921
|
+
# request if it has already been completed. For example, consider a situation
|
31922
|
+
# where you make an initial request and the request times out. If you make the
|
31923
|
+
# request again with the same request ID, the server can check if original
|
31924
|
+
# operation with the same request ID was received, and if so, will ignore the
|
31925
|
+
# second request. This prevents clients from accidentally creating duplicate
|
31926
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
31927
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31928
|
+
# @param [String] fields
|
31929
|
+
# Selector specifying which fields to include in a partial response.
|
31930
|
+
# @param [String] quota_user
|
31931
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31932
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31933
|
+
# @param [String] user_ip
|
31934
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31935
|
+
# @param [Google::Apis::RequestOptions] options
|
31936
|
+
# Request-specific options
|
31937
|
+
#
|
31938
|
+
# @yield [result, err] Result & error if block supplied
|
31939
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
31940
|
+
# @yieldparam err [StandardError] error object if request failed
|
31941
|
+
#
|
31942
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
31943
|
+
#
|
31944
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31945
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31946
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31947
|
+
def patch_region_ssl_policy(project, region, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31948
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}', options)
|
31949
|
+
command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation
|
31950
|
+
command.request_object = ssl_policy_object
|
31951
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
31952
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
31953
|
+
command.params['project'] = project unless project.nil?
|
31954
|
+
command.params['region'] = region unless region.nil?
|
31955
|
+
command.params['sslPolicy'] = ssl_policy unless ssl_policy.nil?
|
31956
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
31957
|
+
command.query['fields'] = fields unless fields.nil?
|
31958
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31959
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31960
|
+
execute_or_queue_command(command, &block)
|
31961
|
+
end
|
31962
|
+
|
31963
|
+
# Returns permissions that a caller has on the specified resource.
|
31177
31964
|
# @param [String] project
|
31178
31965
|
# Project ID for this request.
|
31179
31966
|
# @param [String] region
|
@@ -31200,8 +31987,8 @@ module Google
|
|
31200
31987
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31201
31988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31202
31989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31203
|
-
def
|
31204
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/
|
31990
|
+
def test_region_ssl_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31991
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslPolicies/{resource}/testIamPermissions', options)
|
31205
31992
|
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
31206
31993
|
command.request_object = test_permissions_request_object
|
31207
31994
|
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
@@ -31548,8 +32335,7 @@ module Google
|
|
31548
32335
|
# operation with the same request ID was received, and if so, will ignore the
|
31549
32336
|
# second request. This prevents clients from accidentally creating duplicate
|
31550
32337
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
31551
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31552
|
-
# MixerMutationRequestBuilder
|
32338
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31553
32339
|
# @param [String] fields
|
31554
32340
|
# Selector specifying which fields to include in a partial response.
|
31555
32341
|
# @param [String] quota_user
|
@@ -31639,8 +32425,7 @@ module Google
|
|
31639
32425
|
# operation with the same request ID was received, and if so, will ignore the
|
31640
32426
|
# second request. This prevents clients from accidentally creating duplicate
|
31641
32427
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
31642
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31643
|
-
# MixerMutationRequestBuilder
|
32428
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31644
32429
|
# @param [String] fields
|
31645
32430
|
# Selector specifying which fields to include in a partial response.
|
31646
32431
|
# @param [String] quota_user
|
@@ -31756,6 +32541,61 @@ module Google
|
|
31756
32541
|
execute_or_queue_command(command, &block)
|
31757
32542
|
end
|
31758
32543
|
|
32544
|
+
# Patches the specified regional TargetHttpsProxy resource with the data
|
32545
|
+
# included in the request. This method supports PATCH semantics and uses JSON
|
32546
|
+
# merge patch format and processing rules.
|
32547
|
+
# @param [String] project
|
32548
|
+
# Project ID for this request.
|
32549
|
+
# @param [String] region
|
32550
|
+
# Name of the region for this request.
|
32551
|
+
# @param [String] target_https_proxy
|
32552
|
+
# Name of the TargetHttpsProxy resource to patch.
|
32553
|
+
# @param [Google::Apis::ComputeAlpha::TargetHttpsProxy] target_https_proxy_object
|
32554
|
+
# @param [String] request_id
|
32555
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
32556
|
+
# that if you must retry your request, the server will know to ignore the
|
32557
|
+
# request if it has already been completed. For example, consider a situation
|
32558
|
+
# where you make an initial request and the request times out. If you make the
|
32559
|
+
# request again with the same request ID, the server can check if original
|
32560
|
+
# operation with the same request ID was received, and if so, will ignore the
|
32561
|
+
# second request. This prevents clients from accidentally creating duplicate
|
32562
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
32563
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
32564
|
+
# @param [String] fields
|
32565
|
+
# Selector specifying which fields to include in a partial response.
|
32566
|
+
# @param [String] quota_user
|
32567
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
32568
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
32569
|
+
# @param [String] user_ip
|
32570
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
32571
|
+
# @param [Google::Apis::RequestOptions] options
|
32572
|
+
# Request-specific options
|
32573
|
+
#
|
32574
|
+
# @yield [result, err] Result & error if block supplied
|
32575
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
32576
|
+
# @yieldparam err [StandardError] error object if request failed
|
32577
|
+
#
|
32578
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
32579
|
+
#
|
32580
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
32581
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
32582
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
32583
|
+
def patch_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
32584
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
|
32585
|
+
command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation
|
32586
|
+
command.request_object = target_https_proxy_object
|
32587
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
32588
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
32589
|
+
command.params['project'] = project unless project.nil?
|
32590
|
+
command.params['region'] = region unless region.nil?
|
32591
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
32592
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
32593
|
+
command.query['fields'] = fields unless fields.nil?
|
32594
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
32595
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
32596
|
+
execute_or_queue_command(command, &block)
|
32597
|
+
end
|
32598
|
+
|
31759
32599
|
# Replaces SslCertificates for TargetHttpsProxy.
|
31760
32600
|
# @param [String] project
|
31761
32601
|
# Project ID for this request.
|
@@ -31773,8 +32613,7 @@ module Google
|
|
31773
32613
|
# operation with the same request ID was received, and if so, will ignore the
|
31774
32614
|
# second request. This prevents clients from accidentally creating duplicate
|
31775
32615
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
31776
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31777
|
-
# MixerMutationRequestBuilder
|
32616
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31778
32617
|
# @param [String] fields
|
31779
32618
|
# Selector specifying which fields to include in a partial response.
|
31780
32619
|
# @param [String] quota_user
|
@@ -31827,8 +32666,7 @@ module Google
|
|
31827
32666
|
# operation with the same request ID was received, and if so, will ignore the
|
31828
32667
|
# second request. This prevents clients from accidentally creating duplicate
|
31829
32668
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
31830
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31831
|
-
# MixerMutationRequestBuilder
|
32669
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31832
32670
|
# @param [String] fields
|
31833
32671
|
# Selector specifying which fields to include in a partial response.
|
31834
32672
|
# @param [String] quota_user
|
@@ -32337,7 +33175,13 @@ module Google
|
|
32337
33175
|
end
|
32338
33176
|
|
32339
33177
|
# Returns the specified Region resource. Gets a list of available regions by
|
32340
|
-
# making a list() request.
|
33178
|
+
# making a list() request. To decrease latency for this method, you can
|
33179
|
+
# optionally omit any unneeded information from the response by using a field
|
33180
|
+
# mask. This practice is especially recommended for unused quota information (
|
33181
|
+
# the `quotas` field). To exclude one or more fields, set your request's `fields`
|
33182
|
+
# query parameter to only include the fields you need. For example, to only
|
33183
|
+
# include the `id` and `selfLink` fields, add the query parameter `?fields=id,
|
33184
|
+
# selfLink` to your request.
|
32341
33185
|
# @param [String] project
|
32342
33186
|
# Project ID for this request.
|
32343
33187
|
# @param [String] region
|
@@ -32373,7 +33217,14 @@ module Google
|
|
32373
33217
|
execute_or_queue_command(command, &block)
|
32374
33218
|
end
|
32375
33219
|
|
32376
|
-
# Retrieves the list of region resources available to the specified project.
|
33220
|
+
# Retrieves the list of region resources available to the specified project. To
|
33221
|
+
# decrease latency for this method, you can optionally omit any unneeded
|
33222
|
+
# information from the response by using a field mask. This practice is
|
33223
|
+
# especially recommended for unused quota information (the `items.quotas` field).
|
33224
|
+
# To exclude one or more fields, set your request's `fields` query parameter to
|
33225
|
+
# only include the fields you need. For example, to only include the `id` and `
|
33226
|
+
# selfLink` fields, add the query parameter `?fields=id,selfLink` to your
|
33227
|
+
# request.
|
32377
33228
|
# @param [String] project
|
32378
33229
|
# Project ID for this request.
|
32379
33230
|
# @param [String] filter
|
@@ -35080,8 +35931,7 @@ module Google
|
|
35080
35931
|
# operation with the same request ID was received, and if so, will ignore the
|
35081
35932
|
# second request. This prevents clients from accidentally creating duplicate
|
35082
35933
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
35083
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35084
|
-
# MixerMutationRequestBuilder
|
35934
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35085
35935
|
# @param [String] fields
|
35086
35936
|
# Selector specifying which fields to include in a partial response.
|
35087
35937
|
# @param [String] quota_user
|
@@ -35213,8 +36063,7 @@ module Google
|
|
35213
36063
|
# operation with the same request ID was received, and if so, will ignore the
|
35214
36064
|
# second request. This prevents clients from accidentally creating duplicate
|
35215
36065
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
35216
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35217
|
-
# MixerMutationRequestBuilder
|
36066
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35218
36067
|
# @param [String] fields
|
35219
36068
|
# Selector specifying which fields to include in a partial response.
|
35220
36069
|
# @param [String] quota_user
|
@@ -35349,8 +36198,7 @@ module Google
|
|
35349
36198
|
# operation with the same request ID was received, and if so, will ignore the
|
35350
36199
|
# second request. This prevents clients from accidentally creating duplicate
|
35351
36200
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
35352
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35353
|
-
# MixerMutationRequestBuilder
|
36201
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35354
36202
|
# @param [String] fields
|
35355
36203
|
# Selector specifying which fields to include in a partial response.
|
35356
36204
|
# @param [String] quota_user
|
@@ -35600,7 +36448,9 @@ module Google
|
|
35600
36448
|
end
|
35601
36449
|
|
35602
36450
|
# Creates a snapshot in the specified project using the data included in the
|
35603
|
-
# request.
|
36451
|
+
# request. For regular snapshot creation, consider using this method instead of
|
36452
|
+
# disks.createSnapshot, as this method supports more features, such as creating
|
36453
|
+
# snapshots in a project different from the source disk project.
|
35604
36454
|
# @param [String] project
|
35605
36455
|
# Project ID for this request.
|
35606
36456
|
# @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
|
@@ -35905,18 +36755,353 @@ module Google
|
|
35905
36755
|
# Request-specific options
|
35906
36756
|
#
|
35907
36757
|
# @yield [result, err] Result & error if block supplied
|
35908
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateAggregatedList] parsed result object
|
36758
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateAggregatedList] parsed result object
|
36759
|
+
# @yieldparam err [StandardError] error object if request failed
|
36760
|
+
#
|
36761
|
+
# @return [Google::Apis::ComputeAlpha::SslCertificateAggregatedList]
|
36762
|
+
#
|
36763
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36764
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36765
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36766
|
+
def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36767
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', options)
|
36768
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Representation
|
36769
|
+
command.response_class = Google::Apis::ComputeAlpha::SslCertificateAggregatedList
|
36770
|
+
command.params['project'] = project unless project.nil?
|
36771
|
+
command.query['filter'] = filter unless filter.nil?
|
36772
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
36773
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
36774
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
36775
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
36776
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
36777
|
+
command.query['fields'] = fields unless fields.nil?
|
36778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36779
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36780
|
+
execute_or_queue_command(command, &block)
|
36781
|
+
end
|
36782
|
+
|
36783
|
+
# Deletes the specified SslCertificate resource.
|
36784
|
+
# @param [String] project
|
36785
|
+
# Project ID for this request.
|
36786
|
+
# @param [String] ssl_certificate
|
36787
|
+
# Name of the SslCertificate resource to delete.
|
36788
|
+
# @param [String] request_id
|
36789
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
36790
|
+
# that if you must retry your request, the server will know to ignore the
|
36791
|
+
# request if it has already been completed. For example, consider a situation
|
36792
|
+
# where you make an initial request and the request times out. If you make the
|
36793
|
+
# request again with the same request ID, the server can check if original
|
36794
|
+
# operation with the same request ID was received, and if so, will ignore the
|
36795
|
+
# second request. This prevents clients from accidentally creating duplicate
|
36796
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
36797
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
36798
|
+
# @param [String] fields
|
36799
|
+
# Selector specifying which fields to include in a partial response.
|
36800
|
+
# @param [String] quota_user
|
36801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36803
|
+
# @param [String] user_ip
|
36804
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36805
|
+
# @param [Google::Apis::RequestOptions] options
|
36806
|
+
# Request-specific options
|
36807
|
+
#
|
36808
|
+
# @yield [result, err] Result & error if block supplied
|
36809
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
36810
|
+
# @yieldparam err [StandardError] error object if request failed
|
36811
|
+
#
|
36812
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
36813
|
+
#
|
36814
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36815
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36816
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36817
|
+
def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36818
|
+
command = make_simple_command(:delete, 'projects/{project}/global/sslCertificates/{sslCertificate}', options)
|
36819
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
36820
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
36821
|
+
command.params['project'] = project unless project.nil?
|
36822
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
36823
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
36824
|
+
command.query['fields'] = fields unless fields.nil?
|
36825
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36826
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36827
|
+
execute_or_queue_command(command, &block)
|
36828
|
+
end
|
36829
|
+
|
36830
|
+
# Returns the specified SslCertificate resource. Gets a list of available SSL
|
36831
|
+
# certificates by making a list() request.
|
36832
|
+
# @param [String] project
|
36833
|
+
# Project ID for this request.
|
36834
|
+
# @param [String] ssl_certificate
|
36835
|
+
# Name of the SslCertificate resource to return.
|
36836
|
+
# @param [String] fields
|
36837
|
+
# Selector specifying which fields to include in a partial response.
|
36838
|
+
# @param [String] quota_user
|
36839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36841
|
+
# @param [String] user_ip
|
36842
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36843
|
+
# @param [Google::Apis::RequestOptions] options
|
36844
|
+
# Request-specific options
|
36845
|
+
#
|
36846
|
+
# @yield [result, err] Result & error if block supplied
|
36847
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificate] parsed result object
|
36848
|
+
# @yieldparam err [StandardError] error object if request failed
|
36849
|
+
#
|
36850
|
+
# @return [Google::Apis::ComputeAlpha::SslCertificate]
|
36851
|
+
#
|
36852
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36853
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36854
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36855
|
+
def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36856
|
+
command = make_simple_command(:get, 'projects/{project}/global/sslCertificates/{sslCertificate}', options)
|
36857
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
|
36858
|
+
command.response_class = Google::Apis::ComputeAlpha::SslCertificate
|
36859
|
+
command.params['project'] = project unless project.nil?
|
36860
|
+
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
36861
|
+
command.query['fields'] = fields unless fields.nil?
|
36862
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36863
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36864
|
+
execute_or_queue_command(command, &block)
|
36865
|
+
end
|
36866
|
+
|
36867
|
+
# Creates a SslCertificate resource in the specified project using the data
|
36868
|
+
# included in the request.
|
36869
|
+
# @param [String] project
|
36870
|
+
# Project ID for this request.
|
36871
|
+
# @param [Google::Apis::ComputeAlpha::SslCertificate] ssl_certificate_object
|
36872
|
+
# @param [String] request_id
|
36873
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
36874
|
+
# that if you must retry your request, the server will know to ignore the
|
36875
|
+
# request if it has already been completed. For example, consider a situation
|
36876
|
+
# where you make an initial request and the request times out. If you make the
|
36877
|
+
# request again with the same request ID, the server can check if original
|
36878
|
+
# operation with the same request ID was received, and if so, will ignore the
|
36879
|
+
# second request. This prevents clients from accidentally creating duplicate
|
36880
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
36881
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
36882
|
+
# @param [String] fields
|
36883
|
+
# Selector specifying which fields to include in a partial response.
|
36884
|
+
# @param [String] quota_user
|
36885
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36886
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36887
|
+
# @param [String] user_ip
|
36888
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36889
|
+
# @param [Google::Apis::RequestOptions] options
|
36890
|
+
# Request-specific options
|
36891
|
+
#
|
36892
|
+
# @yield [result, err] Result & error if block supplied
|
36893
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
36894
|
+
# @yieldparam err [StandardError] error object if request failed
|
36895
|
+
#
|
36896
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
36897
|
+
#
|
36898
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36899
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36900
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36901
|
+
def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36902
|
+
command = make_simple_command(:post, 'projects/{project}/global/sslCertificates', options)
|
36903
|
+
command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
|
36904
|
+
command.request_object = ssl_certificate_object
|
36905
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
36906
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
36907
|
+
command.params['project'] = project unless project.nil?
|
36908
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
36909
|
+
command.query['fields'] = fields unless fields.nil?
|
36910
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36911
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36912
|
+
execute_or_queue_command(command, &block)
|
36913
|
+
end
|
36914
|
+
|
36915
|
+
# Retrieves the list of SslCertificate resources available to the specified
|
36916
|
+
# project.
|
36917
|
+
# @param [String] project
|
36918
|
+
# Project ID for this request.
|
36919
|
+
# @param [String] filter
|
36920
|
+
# A filter expression that filters resources listed in the response. The
|
36921
|
+
# expression must specify the field name, an operator, and the value that you
|
36922
|
+
# want to use for filtering. The value must be a string, a number, or a boolean.
|
36923
|
+
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
36924
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
36925
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
36926
|
+
# The `:` operator can be used with string fields to match substrings. For non-
|
36927
|
+
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
36928
|
+
# used to test whether a key has been defined. For example, to find all objects
|
36929
|
+
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
36930
|
+
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
36931
|
+
# to include instances only if they are not scheduled for automatic restarts.
|
36932
|
+
# You can use filtering on nested fields to filter based on resource labels. To
|
36933
|
+
# filter on multiple expressions, provide each separate expression within
|
36934
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
36935
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
36936
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
36937
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
36938
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
36939
|
+
# @param [Fixnum] max_results
|
36940
|
+
# The maximum number of results per page that should be returned. If the number
|
36941
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
36942
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
36943
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
36944
|
+
# @param [String] order_by
|
36945
|
+
# Sorts list results by a certain order. By default, results are returned in
|
36946
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
36947
|
+
# descending order based on the creation timestamp using `orderBy="
|
36948
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
36949
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
36950
|
+
# resources like operations so that the newest operation is returned first.
|
36951
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
36952
|
+
# @param [String] page_token
|
36953
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
36954
|
+
# by a previous list request to get the next page of results.
|
36955
|
+
# @param [Boolean] return_partial_success
|
36956
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
36957
|
+
# failure. The default value is false.
|
36958
|
+
# @param [String] fields
|
36959
|
+
# Selector specifying which fields to include in a partial response.
|
36960
|
+
# @param [String] quota_user
|
36961
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36962
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36963
|
+
# @param [String] user_ip
|
36964
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36965
|
+
# @param [Google::Apis::RequestOptions] options
|
36966
|
+
# Request-specific options
|
36967
|
+
#
|
36968
|
+
# @yield [result, err] Result & error if block supplied
|
36969
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateList] parsed result object
|
36970
|
+
# @yieldparam err [StandardError] error object if request failed
|
36971
|
+
#
|
36972
|
+
# @return [Google::Apis::ComputeAlpha::SslCertificateList]
|
36973
|
+
#
|
36974
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36975
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36976
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36977
|
+
def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36978
|
+
command = make_simple_command(:get, 'projects/{project}/global/sslCertificates', options)
|
36979
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation
|
36980
|
+
command.response_class = Google::Apis::ComputeAlpha::SslCertificateList
|
36981
|
+
command.params['project'] = project unless project.nil?
|
36982
|
+
command.query['filter'] = filter unless filter.nil?
|
36983
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
36984
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
36985
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
36986
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
36987
|
+
command.query['fields'] = fields unless fields.nil?
|
36988
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36989
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36990
|
+
execute_or_queue_command(command, &block)
|
36991
|
+
end
|
36992
|
+
|
36993
|
+
# Returns permissions that a caller has on the specified resource.
|
36994
|
+
# @param [String] project
|
36995
|
+
# Project ID for this request.
|
36996
|
+
# @param [String] resource
|
36997
|
+
# Name or id of the resource for this request.
|
36998
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
36999
|
+
# @param [String] fields
|
37000
|
+
# Selector specifying which fields to include in a partial response.
|
37001
|
+
# @param [String] quota_user
|
37002
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
37003
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
37004
|
+
# @param [String] user_ip
|
37005
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
37006
|
+
# @param [Google::Apis::RequestOptions] options
|
37007
|
+
# Request-specific options
|
37008
|
+
#
|
37009
|
+
# @yield [result, err] Result & error if block supplied
|
37010
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
37011
|
+
# @yieldparam err [StandardError] error object if request failed
|
37012
|
+
#
|
37013
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
37014
|
+
#
|
37015
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
37016
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
37017
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
37018
|
+
def test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
37019
|
+
command = make_simple_command(:post, 'projects/{project}/global/sslCertificates/{resource}/testIamPermissions', options)
|
37020
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
37021
|
+
command.request_object = test_permissions_request_object
|
37022
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
37023
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
37024
|
+
command.params['project'] = project unless project.nil?
|
37025
|
+
command.params['resource'] = resource unless resource.nil?
|
37026
|
+
command.query['fields'] = fields unless fields.nil?
|
37027
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
37028
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
37029
|
+
execute_or_queue_command(command, &block)
|
37030
|
+
end
|
37031
|
+
|
37032
|
+
# Retrieves the list of all SslPolicy resources, regional and global, available
|
37033
|
+
# to the specified project.
|
37034
|
+
# @param [String] project
|
37035
|
+
# Name of the project scoping this request.
|
37036
|
+
# @param [String] filter
|
37037
|
+
# A filter expression that filters resources listed in the response. The
|
37038
|
+
# expression must specify the field name, an operator, and the value that you
|
37039
|
+
# want to use for filtering. The value must be a string, a number, or a boolean.
|
37040
|
+
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
37041
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
37042
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
37043
|
+
# The `:` operator can be used with string fields to match substrings. For non-
|
37044
|
+
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
37045
|
+
# used to test whether a key has been defined. For example, to find all objects
|
37046
|
+
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
37047
|
+
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
37048
|
+
# to include instances only if they are not scheduled for automatic restarts.
|
37049
|
+
# You can use filtering on nested fields to filter based on resource labels. To
|
37050
|
+
# filter on multiple expressions, provide each separate expression within
|
37051
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
37052
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
37053
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
37054
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
37055
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
37056
|
+
# @param [Boolean] include_all_scopes
|
37057
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
37058
|
+
# global) should be included in the response. For new resource types added after
|
37059
|
+
# this field, the flag has no effect as new resource types will always include
|
37060
|
+
# every visible scope for each scope type in response. For resource types which
|
37061
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
37062
|
+
# types where the resource type is expected to be found will be included.
|
37063
|
+
# @param [Fixnum] max_results
|
37064
|
+
# The maximum number of results per page that should be returned. If the number
|
37065
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
37066
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
37067
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
37068
|
+
# @param [String] order_by
|
37069
|
+
# Sorts list results by a certain order. By default, results are returned in
|
37070
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
37071
|
+
# descending order based on the creation timestamp using `orderBy="
|
37072
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
37073
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
37074
|
+
# resources like operations so that the newest operation is returned first.
|
37075
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
37076
|
+
# @param [String] page_token
|
37077
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
37078
|
+
# by a previous list request to get the next page of results.
|
37079
|
+
# @param [Boolean] return_partial_success
|
37080
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
37081
|
+
# failure. The default value is false.
|
37082
|
+
# @param [String] fields
|
37083
|
+
# Selector specifying which fields to include in a partial response.
|
37084
|
+
# @param [String] quota_user
|
37085
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
37086
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
37087
|
+
# @param [String] user_ip
|
37088
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
37089
|
+
# @param [Google::Apis::RequestOptions] options
|
37090
|
+
# Request-specific options
|
37091
|
+
#
|
37092
|
+
# @yield [result, err] Result & error if block supplied
|
37093
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::SslPoliciesAggregatedList] parsed result object
|
35909
37094
|
# @yieldparam err [StandardError] error object if request failed
|
35910
37095
|
#
|
35911
|
-
# @return [Google::Apis::ComputeAlpha::
|
37096
|
+
# @return [Google::Apis::ComputeAlpha::SslPoliciesAggregatedList]
|
35912
37097
|
#
|
35913
37098
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35914
37099
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35915
37100
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35916
|
-
def
|
35917
|
-
command = make_simple_command(:get, 'projects/{project}/aggregated/
|
35918
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
35919
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
37101
|
+
def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
37102
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/sslPolicies', options)
|
37103
|
+
command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesAggregatedList::Representation
|
37104
|
+
command.response_class = Google::Apis::ComputeAlpha::SslPoliciesAggregatedList
|
35920
37105
|
command.params['project'] = project unless project.nil?
|
35921
37106
|
command.query['filter'] = filter unless filter.nil?
|
35922
37107
|
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
@@ -35930,257 +37115,6 @@ module Google
|
|
35930
37115
|
execute_or_queue_command(command, &block)
|
35931
37116
|
end
|
35932
37117
|
|
35933
|
-
# Deletes the specified SslCertificate resource.
|
35934
|
-
# @param [String] project
|
35935
|
-
# Project ID for this request.
|
35936
|
-
# @param [String] ssl_certificate
|
35937
|
-
# Name of the SslCertificate resource to delete.
|
35938
|
-
# @param [String] request_id
|
35939
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
35940
|
-
# that if you must retry your request, the server will know to ignore the
|
35941
|
-
# request if it has already been completed. For example, consider a situation
|
35942
|
-
# where you make an initial request and the request times out. If you make the
|
35943
|
-
# request again with the same request ID, the server can check if original
|
35944
|
-
# operation with the same request ID was received, and if so, will ignore the
|
35945
|
-
# second request. This prevents clients from accidentally creating duplicate
|
35946
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
35947
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
35948
|
-
# MixerMutationRequestBuilder
|
35949
|
-
# @param [String] fields
|
35950
|
-
# Selector specifying which fields to include in a partial response.
|
35951
|
-
# @param [String] quota_user
|
35952
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
35953
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35954
|
-
# @param [String] user_ip
|
35955
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35956
|
-
# @param [Google::Apis::RequestOptions] options
|
35957
|
-
# Request-specific options
|
35958
|
-
#
|
35959
|
-
# @yield [result, err] Result & error if block supplied
|
35960
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
35961
|
-
# @yieldparam err [StandardError] error object if request failed
|
35962
|
-
#
|
35963
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
35964
|
-
#
|
35965
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35966
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35967
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35968
|
-
def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35969
|
-
command = make_simple_command(:delete, 'projects/{project}/global/sslCertificates/{sslCertificate}', options)
|
35970
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
35971
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
35972
|
-
command.params['project'] = project unless project.nil?
|
35973
|
-
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
35974
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
35975
|
-
command.query['fields'] = fields unless fields.nil?
|
35976
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35977
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
35978
|
-
execute_or_queue_command(command, &block)
|
35979
|
-
end
|
35980
|
-
|
35981
|
-
# Returns the specified SslCertificate resource. Gets a list of available SSL
|
35982
|
-
# certificates by making a list() request.
|
35983
|
-
# @param [String] project
|
35984
|
-
# Project ID for this request.
|
35985
|
-
# @param [String] ssl_certificate
|
35986
|
-
# Name of the SslCertificate resource to return.
|
35987
|
-
# @param [String] fields
|
35988
|
-
# Selector specifying which fields to include in a partial response.
|
35989
|
-
# @param [String] quota_user
|
35990
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
35991
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35992
|
-
# @param [String] user_ip
|
35993
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35994
|
-
# @param [Google::Apis::RequestOptions] options
|
35995
|
-
# Request-specific options
|
35996
|
-
#
|
35997
|
-
# @yield [result, err] Result & error if block supplied
|
35998
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificate] parsed result object
|
35999
|
-
# @yieldparam err [StandardError] error object if request failed
|
36000
|
-
#
|
36001
|
-
# @return [Google::Apis::ComputeAlpha::SslCertificate]
|
36002
|
-
#
|
36003
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36004
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36005
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36006
|
-
def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36007
|
-
command = make_simple_command(:get, 'projects/{project}/global/sslCertificates/{sslCertificate}', options)
|
36008
|
-
command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
|
36009
|
-
command.response_class = Google::Apis::ComputeAlpha::SslCertificate
|
36010
|
-
command.params['project'] = project unless project.nil?
|
36011
|
-
command.params['sslCertificate'] = ssl_certificate unless ssl_certificate.nil?
|
36012
|
-
command.query['fields'] = fields unless fields.nil?
|
36013
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36014
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
36015
|
-
execute_or_queue_command(command, &block)
|
36016
|
-
end
|
36017
|
-
|
36018
|
-
# Creates a SslCertificate resource in the specified project using the data
|
36019
|
-
# included in the request.
|
36020
|
-
# @param [String] project
|
36021
|
-
# Project ID for this request.
|
36022
|
-
# @param [Google::Apis::ComputeAlpha::SslCertificate] ssl_certificate_object
|
36023
|
-
# @param [String] request_id
|
36024
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
36025
|
-
# that if you must retry your request, the server will know to ignore the
|
36026
|
-
# request if it has already been completed. For example, consider a situation
|
36027
|
-
# where you make an initial request and the request times out. If you make the
|
36028
|
-
# request again with the same request ID, the server can check if original
|
36029
|
-
# operation with the same request ID was received, and if so, will ignore the
|
36030
|
-
# second request. This prevents clients from accidentally creating duplicate
|
36031
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
36032
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
|
36033
|
-
# MixerMutationRequestBuilder
|
36034
|
-
# @param [String] fields
|
36035
|
-
# Selector specifying which fields to include in a partial response.
|
36036
|
-
# @param [String] quota_user
|
36037
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
36038
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36039
|
-
# @param [String] user_ip
|
36040
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36041
|
-
# @param [Google::Apis::RequestOptions] options
|
36042
|
-
# Request-specific options
|
36043
|
-
#
|
36044
|
-
# @yield [result, err] Result & error if block supplied
|
36045
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
36046
|
-
# @yieldparam err [StandardError] error object if request failed
|
36047
|
-
#
|
36048
|
-
# @return [Google::Apis::ComputeAlpha::Operation]
|
36049
|
-
#
|
36050
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36051
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36052
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36053
|
-
def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36054
|
-
command = make_simple_command(:post, 'projects/{project}/global/sslCertificates', options)
|
36055
|
-
command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation
|
36056
|
-
command.request_object = ssl_certificate_object
|
36057
|
-
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
36058
|
-
command.response_class = Google::Apis::ComputeAlpha::Operation
|
36059
|
-
command.params['project'] = project unless project.nil?
|
36060
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
36061
|
-
command.query['fields'] = fields unless fields.nil?
|
36062
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36063
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
36064
|
-
execute_or_queue_command(command, &block)
|
36065
|
-
end
|
36066
|
-
|
36067
|
-
# Retrieves the list of SslCertificate resources available to the specified
|
36068
|
-
# project.
|
36069
|
-
# @param [String] project
|
36070
|
-
# Project ID for this request.
|
36071
|
-
# @param [String] filter
|
36072
|
-
# A filter expression that filters resources listed in the response. The
|
36073
|
-
# expression must specify the field name, an operator, and the value that you
|
36074
|
-
# want to use for filtering. The value must be a string, a number, or a boolean.
|
36075
|
-
# The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
|
36076
|
-
# example, if you are filtering Compute Engine instances, you can exclude
|
36077
|
-
# instances named `example-instance` by specifying `name != example-instance`.
|
36078
|
-
# The `:` operator can be used with string fields to match substrings. For non-
|
36079
|
-
# string fields it is equivalent to the `=` operator. The `:*` comparison can be
|
36080
|
-
# used to test whether a key has been defined. For example, to find all objects
|
36081
|
-
# with `owner` label use: ``` labels.owner:* ``` You can also filter nested
|
36082
|
-
# fields. For example, you could specify `scheduling.automaticRestart = false`
|
36083
|
-
# to include instances only if they are not scheduled for automatic restarts.
|
36084
|
-
# You can use filtering on nested fields to filter based on resource labels. To
|
36085
|
-
# filter on multiple expressions, provide each separate expression within
|
36086
|
-
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
36087
|
-
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
36088
|
-
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
36089
|
-
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
36090
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
36091
|
-
# @param [Fixnum] max_results
|
36092
|
-
# The maximum number of results per page that should be returned. If the number
|
36093
|
-
# of available results is larger than `maxResults`, Compute Engine returns a `
|
36094
|
-
# nextPageToken` that can be used to get the next page of results in subsequent
|
36095
|
-
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
36096
|
-
# @param [String] order_by
|
36097
|
-
# Sorts list results by a certain order. By default, results are returned in
|
36098
|
-
# alphanumerical order based on the resource name. You can also sort results in
|
36099
|
-
# descending order based on the creation timestamp using `orderBy="
|
36100
|
-
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
36101
|
-
# field in reverse chronological order (newest result first). Use this to sort
|
36102
|
-
# resources like operations so that the newest operation is returned first.
|
36103
|
-
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
36104
|
-
# @param [String] page_token
|
36105
|
-
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
36106
|
-
# by a previous list request to get the next page of results.
|
36107
|
-
# @param [Boolean] return_partial_success
|
36108
|
-
# Opt-in for partial success behavior which provides partial results in case of
|
36109
|
-
# failure. The default value is false.
|
36110
|
-
# @param [String] fields
|
36111
|
-
# Selector specifying which fields to include in a partial response.
|
36112
|
-
# @param [String] quota_user
|
36113
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
36114
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36115
|
-
# @param [String] user_ip
|
36116
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36117
|
-
# @param [Google::Apis::RequestOptions] options
|
36118
|
-
# Request-specific options
|
36119
|
-
#
|
36120
|
-
# @yield [result, err] Result & error if block supplied
|
36121
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::SslCertificateList] parsed result object
|
36122
|
-
# @yieldparam err [StandardError] error object if request failed
|
36123
|
-
#
|
36124
|
-
# @return [Google::Apis::ComputeAlpha::SslCertificateList]
|
36125
|
-
#
|
36126
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36127
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36128
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36129
|
-
def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36130
|
-
command = make_simple_command(:get, 'projects/{project}/global/sslCertificates', options)
|
36131
|
-
command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation
|
36132
|
-
command.response_class = Google::Apis::ComputeAlpha::SslCertificateList
|
36133
|
-
command.params['project'] = project unless project.nil?
|
36134
|
-
command.query['filter'] = filter unless filter.nil?
|
36135
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
36136
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
36137
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
36138
|
-
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
36139
|
-
command.query['fields'] = fields unless fields.nil?
|
36140
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36141
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
36142
|
-
execute_or_queue_command(command, &block)
|
36143
|
-
end
|
36144
|
-
|
36145
|
-
# Returns permissions that a caller has on the specified resource.
|
36146
|
-
# @param [String] project
|
36147
|
-
# Project ID for this request.
|
36148
|
-
# @param [String] resource
|
36149
|
-
# Name or id of the resource for this request.
|
36150
|
-
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
36151
|
-
# @param [String] fields
|
36152
|
-
# Selector specifying which fields to include in a partial response.
|
36153
|
-
# @param [String] quota_user
|
36154
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
36155
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36156
|
-
# @param [String] user_ip
|
36157
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36158
|
-
# @param [Google::Apis::RequestOptions] options
|
36159
|
-
# Request-specific options
|
36160
|
-
#
|
36161
|
-
# @yield [result, err] Result & error if block supplied
|
36162
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
36163
|
-
# @yieldparam err [StandardError] error object if request failed
|
36164
|
-
#
|
36165
|
-
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
36166
|
-
#
|
36167
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36168
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36169
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36170
|
-
def test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36171
|
-
command = make_simple_command(:post, 'projects/{project}/global/sslCertificates/{resource}/testIamPermissions', options)
|
36172
|
-
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
36173
|
-
command.request_object = test_permissions_request_object
|
36174
|
-
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
36175
|
-
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
36176
|
-
command.params['project'] = project unless project.nil?
|
36177
|
-
command.params['resource'] = resource unless resource.nil?
|
36178
|
-
command.query['fields'] = fields unless fields.nil?
|
36179
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36180
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
36181
|
-
execute_or_queue_command(command, &block)
|
36182
|
-
end
|
36183
|
-
|
36184
37118
|
# Deletes the specified SSL policy. The SSL policy resource can be deleted only
|
36185
37119
|
# if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
|
36186
37120
|
# @param [String] project
|
@@ -37262,8 +38196,7 @@ module Google
|
|
37262
38196
|
# operation with the same request ID was received, and if so, will ignore the
|
37263
38197
|
# second request. This prevents clients from accidentally creating duplicate
|
37264
38198
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
37265
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37266
|
-
# MixerMutationRequestBuilder
|
38199
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37267
38200
|
# @param [String] fields
|
37268
38201
|
# Selector specifying which fields to include in a partial response.
|
37269
38202
|
# @param [String] quota_user
|
@@ -37346,8 +38279,7 @@ module Google
|
|
37346
38279
|
# operation with the same request ID was received, and if so, will ignore the
|
37347
38280
|
# second request. This prevents clients from accidentally creating duplicate
|
37348
38281
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
37349
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37350
|
-
# MixerMutationRequestBuilder
|
38282
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37351
38283
|
# @param [String] fields
|
37352
38284
|
# Selector specifying which fields to include in a partial response.
|
37353
38285
|
# @param [String] quota_user
|
@@ -37475,8 +38407,7 @@ module Google
|
|
37475
38407
|
# operation with the same request ID was received, and if so, will ignore the
|
37476
38408
|
# second request. This prevents clients from accidentally creating duplicate
|
37477
38409
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
37478
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37479
|
-
# MixerMutationRequestBuilder
|
38410
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37480
38411
|
# @param [String] fields
|
37481
38412
|
# Selector specifying which fields to include in a partial response.
|
37482
38413
|
# @param [String] quota_user
|
@@ -37863,8 +38794,7 @@ module Google
|
|
37863
38794
|
# operation with the same request ID was received, and if so, will ignore the
|
37864
38795
|
# second request. This prevents clients from accidentally creating duplicate
|
37865
38796
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
37866
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37867
|
-
# MixerMutationRequestBuilder
|
38797
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
37868
38798
|
# @param [String] fields
|
37869
38799
|
# Selector specifying which fields to include in a partial response.
|
37870
38800
|
# @param [String] quota_user
|
@@ -38301,8 +39231,7 @@ module Google
|
|
38301
39231
|
# operation with the same request ID was received, and if so, will ignore the
|
38302
39232
|
# second request. This prevents clients from accidentally creating duplicate
|
38303
39233
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
38304
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
38305
|
-
# MixerMutationRequestBuilder
|
39234
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
38306
39235
|
# @param [String] fields
|
38307
39236
|
# Selector specifying which fields to include in a partial response.
|
38308
39237
|
# @param [String] quota_user
|