google-api-client 0.14.4 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +111 -0
- data/generated/google/apis/appengine_v1/representations.rb +59 -0
- data/generated/google/apis/appengine_v1/service.rb +220 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +361 -0
- data/generated/google/apis/classroom_v1/representations.rb +161 -0
- data/generated/google/apis/classroom_v1/service.rb +426 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudiot_v1.rb +38 -0
- data/generated/google/apis/cloudiot_v1/classes.rb +1197 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +473 -0
- data/generated/google/apis/cloudiot_v1/service.rb +657 -0
- data/generated/google/apis/cloudiot_v1beta1.rb +38 -0
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +1064 -0
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +442 -0
- data/generated/google/apis/cloudiot_v1beta1/service.rb +725 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +34 -4
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +34 -4
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +91 -9
- data/generated/google/apis/content_v2/representations.rb +20 -0
- data/generated/google/apis/content_v2/service.rb +1 -2
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +90 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +20 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +53 -3
- data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +461 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +194 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +452 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +30 -1
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +8 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +2 -2
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +44 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firebaserules_v1/service.rb +35 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -3
- data/generated/google/apis/fitness_v1/service.rb +4 -4
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +14 -14
- data/generated/google/apis/iam_v1/service.rb +29 -29
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +11 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +11 -9
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +5 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +19 -23
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +106 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +32 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +92 -92
- data/generated/google/apis/serviceuser_v1/representations.rb +27 -15
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +53 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +29 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +37 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc5117c28a286f0e84dab6529e56980f64f5defd
|
|
4
|
+
data.tar.gz: 78caad0f76962907e3668580f329a5c394a0d602
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb39f47bc7a6266e7a4a2d0c714e37f9ec2225501b1d4fa61c06a23e1c9e9a2e4713f5a3cc69901cde3e9cc551c85685c4d094defc02426b80fb17faed6fe2a6
|
|
7
|
+
data.tar.gz: cc35342b66f0dbd864ff04cfc1ebe5e03dde52e8778f4fdae51dae9105cfa177a09fdcd721d887ae107b69c3f5ca98ffb7abdffad4cd8e80c993615f20a113a4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
|
1
|
+
# 0.14.5
|
|
2
|
+
* Backwards compatible changes:
|
|
3
|
+
* Added `cloudiot_v1`
|
|
4
|
+
* Added `cloudiot_v1beta1`
|
|
5
|
+
* Updated `analyticsreporting_v4`
|
|
6
|
+
* Updated `androidmanagement_v1`
|
|
7
|
+
* Updated `appengine_v1`
|
|
8
|
+
* Updated `bigquerydatatransfer_v1`
|
|
9
|
+
* Updated `classroom_v1`
|
|
10
|
+
* Updated `cloudfunctions_v1beta2`
|
|
11
|
+
* Updated `cloudtasks_v2beta2`
|
|
12
|
+
* Updated `cloudtrace_v1`
|
|
13
|
+
* Updated `cloudtrace_v2`
|
|
14
|
+
* Updated `container_v1`
|
|
15
|
+
* Updated `container_v1beta1`
|
|
16
|
+
* Updated `content_v2`
|
|
17
|
+
* Updated `content_v2sandbox`
|
|
18
|
+
* Updated `dataflow_v1b3`
|
|
19
|
+
* Updated `dataproc_v1beta2`
|
|
20
|
+
* Updated `deploymentmanager_alpha`
|
|
21
|
+
* Updated `deploymentmanager_v2`
|
|
22
|
+
* Updated `deploymentmanager_v2beta`
|
|
23
|
+
* Updated `dlp_v2beta1`
|
|
24
|
+
* Updated `firebaserules_v1`
|
|
25
|
+
* Updated `fitness_v1`
|
|
26
|
+
* Updated `iam_v1`
|
|
27
|
+
* Updated `kgsearch_v1`
|
|
28
|
+
* Updated `logging_v2`
|
|
29
|
+
* Updated `logging_v2beta1`
|
|
30
|
+
* Updated `ml_v1`
|
|
31
|
+
* Updated `oslogin_v1alpha`
|
|
32
|
+
* Updated `oslogin_v1beta`
|
|
33
|
+
* Updated `pubsub_v1`
|
|
34
|
+
* Updated `script_v1`
|
|
35
|
+
* Updated `servicecontrol_v1`
|
|
36
|
+
* Updated `servicemanagement_v1`
|
|
37
|
+
* Updated `serviceuser_v1`
|
|
38
|
+
* Updated `streetviewpublish_v1`
|
|
39
|
+
* Updated `toolresults_v1beta3`
|
|
40
|
+
* Updated `youtube_partner_v1`
|
|
41
|
+
|
|
1
42
|
# 0.14.4
|
|
2
43
|
* Backwards compatible changes:
|
|
3
44
|
* Updated `acceleratedmobilepageurl_v1`
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
|
|
26
26
|
module AnalyticsreportingV4
|
|
27
27
|
VERSION = 'V4'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170925'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Analytics data
|
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/android/management
|
|
27
27
|
module AndroidmanagementV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170918'
|
|
30
30
|
|
|
31
31
|
# Manage Android devices and apps for your customers
|
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
|
@@ -1140,8 +1140,8 @@ module Google
|
|
|
1140
1140
|
# @return [String]
|
|
1141
1141
|
attr_accessor :field_path
|
|
1142
1142
|
|
|
1143
|
-
# If package_name is set and the non-compliance reason is APP_NOT_INSTALLED
|
|
1144
|
-
# detailed reason the app cannot be installed.
|
|
1143
|
+
# If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or
|
|
1144
|
+
# APP_NOT_UPDATED, the detailed reason the app cannot be installed or updated.
|
|
1145
1145
|
# Corresponds to the JSON property `installationFailureReason`
|
|
1146
1146
|
# @return [String]
|
|
1147
1147
|
attr_accessor :installation_failure_reason
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170926'
|
|
30
30
|
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -420,6 +420,44 @@ module Google
|
|
|
420
420
|
end
|
|
421
421
|
end
|
|
422
422
|
|
|
423
|
+
# Request message for Firewall.BatchUpdateIngressRules.
|
|
424
|
+
class BatchUpdateIngressRulesRequest
|
|
425
|
+
include Google::Apis::Core::Hashable
|
|
426
|
+
|
|
427
|
+
# A list of FirewallRules to replace the existing set.
|
|
428
|
+
# Corresponds to the JSON property `ingressRules`
|
|
429
|
+
# @return [Array<Google::Apis::AppengineV1::FirewallRule>]
|
|
430
|
+
attr_accessor :ingress_rules
|
|
431
|
+
|
|
432
|
+
def initialize(**args)
|
|
433
|
+
update!(**args)
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# Update properties of this object
|
|
437
|
+
def update!(**args)
|
|
438
|
+
@ingress_rules = args[:ingress_rules] if args.key?(:ingress_rules)
|
|
439
|
+
end
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
# Response message for Firewall.UpdateAllIngressRules.
|
|
443
|
+
class BatchUpdateIngressRulesResponse
|
|
444
|
+
include Google::Apis::Core::Hashable
|
|
445
|
+
|
|
446
|
+
# The full list of ingress FirewallRules for this application.
|
|
447
|
+
# Corresponds to the JSON property `ingressRules`
|
|
448
|
+
# @return [Array<Google::Apis::AppengineV1::FirewallRule>]
|
|
449
|
+
attr_accessor :ingress_rules
|
|
450
|
+
|
|
451
|
+
def initialize(**args)
|
|
452
|
+
update!(**args)
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
# Update properties of this object
|
|
456
|
+
def update!(**args)
|
|
457
|
+
@ingress_rules = args[:ingress_rules] if args.key?(:ingress_rules)
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
423
461
|
# An SSL certificate obtained from a certificate authority.
|
|
424
462
|
class CertificateRawData
|
|
425
463
|
include Google::Apis::Core::Hashable
|
|
@@ -772,6 +810,54 @@ module Google
|
|
|
772
810
|
end
|
|
773
811
|
end
|
|
774
812
|
|
|
813
|
+
# A single firewall rule that is evaluated against incoming traffic and provides
|
|
814
|
+
# an action to take on matched requests.
|
|
815
|
+
class FirewallRule
|
|
816
|
+
include Google::Apis::Core::Hashable
|
|
817
|
+
|
|
818
|
+
# The action to take on matched requests.
|
|
819
|
+
# Corresponds to the JSON property `action`
|
|
820
|
+
# @return [String]
|
|
821
|
+
attr_accessor :action
|
|
822
|
+
|
|
823
|
+
# An optional string description of this rule. This field has a maximum length
|
|
824
|
+
# of 100 characters.
|
|
825
|
+
# Corresponds to the JSON property `description`
|
|
826
|
+
# @return [String]
|
|
827
|
+
attr_accessor :description
|
|
828
|
+
|
|
829
|
+
# A positive integer between 1, Int32.MaxValue-1 that defines the order of rule
|
|
830
|
+
# evaluation. Rules with the lowest priority are evaluated first.A default rule
|
|
831
|
+
# at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous
|
|
832
|
+
# rule matches. Only the action of this rule can be modified by the user.
|
|
833
|
+
# Corresponds to the JSON property `priority`
|
|
834
|
+
# @return [Fixnum]
|
|
835
|
+
attr_accessor :priority
|
|
836
|
+
|
|
837
|
+
# IP address or range, defined using CIDR notation, of requests that this rule
|
|
838
|
+
# applies to. You can use the wildcard character "*" to match all IPs equivalent
|
|
839
|
+
# to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:
|
|
840
|
+
# db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334.<p>Truncation will be
|
|
841
|
+
# silently performed on addresses which are not properly truncated. For example,
|
|
842
|
+
# 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6,
|
|
843
|
+
# 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.
|
|
844
|
+
# Corresponds to the JSON property `sourceRange`
|
|
845
|
+
# @return [String]
|
|
846
|
+
attr_accessor :source_range
|
|
847
|
+
|
|
848
|
+
def initialize(**args)
|
|
849
|
+
update!(**args)
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
# Update properties of this object
|
|
853
|
+
def update!(**args)
|
|
854
|
+
@action = args[:action] if args.key?(:action)
|
|
855
|
+
@description = args[:description] if args.key?(:description)
|
|
856
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
857
|
+
@source_range = args[:source_range] if args.key?(:source_range)
|
|
858
|
+
end
|
|
859
|
+
end
|
|
860
|
+
|
|
775
861
|
# Health checking configuration for VM instances. Unhealthy instances are killed
|
|
776
862
|
# and replaced with new instances. Only applicable for instances in App Engine
|
|
777
863
|
# flexible environment.
|
|
@@ -1094,6 +1180,31 @@ module Google
|
|
|
1094
1180
|
end
|
|
1095
1181
|
end
|
|
1096
1182
|
|
|
1183
|
+
# Response message for Firewall.ListIngressRules.
|
|
1184
|
+
class ListIngressRulesResponse
|
|
1185
|
+
include Google::Apis::Core::Hashable
|
|
1186
|
+
|
|
1187
|
+
# The ingress FirewallRules for this application.
|
|
1188
|
+
# Corresponds to the JSON property `ingressRules`
|
|
1189
|
+
# @return [Array<Google::Apis::AppengineV1::FirewallRule>]
|
|
1190
|
+
attr_accessor :ingress_rules
|
|
1191
|
+
|
|
1192
|
+
# Continuation token for fetching the next page of results.
|
|
1193
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1194
|
+
# @return [String]
|
|
1195
|
+
attr_accessor :next_page_token
|
|
1196
|
+
|
|
1197
|
+
def initialize(**args)
|
|
1198
|
+
update!(**args)
|
|
1199
|
+
end
|
|
1200
|
+
|
|
1201
|
+
# Update properties of this object
|
|
1202
|
+
def update!(**args)
|
|
1203
|
+
@ingress_rules = args[:ingress_rules] if args.key?(:ingress_rules)
|
|
1204
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1205
|
+
end
|
|
1206
|
+
end
|
|
1207
|
+
|
|
1097
1208
|
# Response message for Instances.ListInstances.
|
|
1098
1209
|
class ListInstancesResponse
|
|
1099
1210
|
include Google::Apis::Core::Hashable
|
|
@@ -64,6 +64,18 @@ module Google
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
class BatchUpdateIngressRulesRequest
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class BatchUpdateIngressRulesResponse
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
67
79
|
class CertificateRawData
|
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
81
|
|
|
@@ -136,6 +148,12 @@ module Google
|
|
|
136
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
149
|
end
|
|
138
150
|
|
|
151
|
+
class FirewallRule
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
139
157
|
class HealthCheck
|
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
159
|
|
|
@@ -178,6 +196,12 @@ module Google
|
|
|
178
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
179
197
|
end
|
|
180
198
|
|
|
199
|
+
class ListIngressRulesResponse
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
181
205
|
class ListInstancesResponse
|
|
182
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
207
|
|
|
@@ -475,6 +499,22 @@ module Google
|
|
|
475
499
|
end
|
|
476
500
|
end
|
|
477
501
|
|
|
502
|
+
class BatchUpdateIngressRulesRequest
|
|
503
|
+
# @private
|
|
504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
505
|
+
collection :ingress_rules, as: 'ingressRules', class: Google::Apis::AppengineV1::FirewallRule, decorator: Google::Apis::AppengineV1::FirewallRule::Representation
|
|
506
|
+
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
class BatchUpdateIngressRulesResponse
|
|
511
|
+
# @private
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
513
|
+
collection :ingress_rules, as: 'ingressRules', class: Google::Apis::AppengineV1::FirewallRule, decorator: Google::Apis::AppengineV1::FirewallRule::Representation
|
|
514
|
+
|
|
515
|
+
end
|
|
516
|
+
end
|
|
517
|
+
|
|
478
518
|
class CertificateRawData
|
|
479
519
|
# @private
|
|
480
520
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -578,6 +618,16 @@ module Google
|
|
|
578
618
|
end
|
|
579
619
|
end
|
|
580
620
|
|
|
621
|
+
class FirewallRule
|
|
622
|
+
# @private
|
|
623
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
624
|
+
property :action, as: 'action'
|
|
625
|
+
property :description, as: 'description'
|
|
626
|
+
property :priority, as: 'priority'
|
|
627
|
+
property :source_range, as: 'sourceRange'
|
|
628
|
+
end
|
|
629
|
+
end
|
|
630
|
+
|
|
581
631
|
class HealthCheck
|
|
582
632
|
# @private
|
|
583
633
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -658,6 +708,15 @@ module Google
|
|
|
658
708
|
end
|
|
659
709
|
end
|
|
660
710
|
|
|
711
|
+
class ListIngressRulesResponse
|
|
712
|
+
# @private
|
|
713
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
714
|
+
collection :ingress_rules, as: 'ingressRules', class: Google::Apis::AppengineV1::FirewallRule, decorator: Google::Apis::AppengineV1::FirewallRule::Representation
|
|
715
|
+
|
|
716
|
+
property :next_page_token, as: 'nextPageToken'
|
|
717
|
+
end
|
|
718
|
+
end
|
|
719
|
+
|
|
661
720
|
class ListInstancesResponse
|
|
662
721
|
# @private
|
|
663
722
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -597,6 +597,226 @@ module Google
|
|
|
597
597
|
execute_or_queue_command(command, &block)
|
|
598
598
|
end
|
|
599
599
|
|
|
600
|
+
# Replaces the entire firewall ruleset in one bulk operation. This overrides and
|
|
601
|
+
# replaces the rules of an existing firewall with the new rules.If the final
|
|
602
|
+
# rule does not match traffic with the '*' wildcard IP range, then an "allow all"
|
|
603
|
+
# rule is explicitly added to the end of the list.
|
|
604
|
+
# @param [String] apps_id
|
|
605
|
+
# Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/
|
|
606
|
+
# firewall/ingressRules.
|
|
607
|
+
# @param [Google::Apis::AppengineV1::BatchUpdateIngressRulesRequest] batch_update_ingress_rules_request_object
|
|
608
|
+
# @param [String] fields
|
|
609
|
+
# Selector specifying which fields to include in a partial response.
|
|
610
|
+
# @param [String] quota_user
|
|
611
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
612
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
613
|
+
# @param [Google::Apis::RequestOptions] options
|
|
614
|
+
# Request-specific options
|
|
615
|
+
#
|
|
616
|
+
# @yield [result, err] Result & error if block supplied
|
|
617
|
+
# @yieldparam result [Google::Apis::AppengineV1::BatchUpdateIngressRulesResponse] parsed result object
|
|
618
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
619
|
+
#
|
|
620
|
+
# @return [Google::Apis::AppengineV1::BatchUpdateIngressRulesResponse]
|
|
621
|
+
#
|
|
622
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
623
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
624
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
625
|
+
def batch_update_ingress_rules(apps_id, batch_update_ingress_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
626
|
+
command = make_simple_command(:post, 'v1/apps/{appsId}/firewall/ingressRules:batchUpdate', options)
|
|
627
|
+
command.request_representation = Google::Apis::AppengineV1::BatchUpdateIngressRulesRequest::Representation
|
|
628
|
+
command.request_object = batch_update_ingress_rules_request_object
|
|
629
|
+
command.response_representation = Google::Apis::AppengineV1::BatchUpdateIngressRulesResponse::Representation
|
|
630
|
+
command.response_class = Google::Apis::AppengineV1::BatchUpdateIngressRulesResponse
|
|
631
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
632
|
+
command.query['fields'] = fields unless fields.nil?
|
|
633
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
634
|
+
execute_or_queue_command(command, &block)
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
# Creates a firewall rule for the application.
|
|
638
|
+
# @param [String] apps_id
|
|
639
|
+
# Part of `parent`. Name of the parent Firewall collection in which to create a
|
|
640
|
+
# new rule. Example: apps/myapp/firewall/ingressRules.
|
|
641
|
+
# @param [Google::Apis::AppengineV1::FirewallRule] firewall_rule_object
|
|
642
|
+
# @param [String] fields
|
|
643
|
+
# Selector specifying which fields to include in a partial response.
|
|
644
|
+
# @param [String] quota_user
|
|
645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
647
|
+
# @param [Google::Apis::RequestOptions] options
|
|
648
|
+
# Request-specific options
|
|
649
|
+
#
|
|
650
|
+
# @yield [result, err] Result & error if block supplied
|
|
651
|
+
# @yieldparam result [Google::Apis::AppengineV1::FirewallRule] parsed result object
|
|
652
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
653
|
+
#
|
|
654
|
+
# @return [Google::Apis::AppengineV1::FirewallRule]
|
|
655
|
+
#
|
|
656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
659
|
+
def create_app_firewall_ingress_rule(apps_id, firewall_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
660
|
+
command = make_simple_command(:post, 'v1/apps/{appsId}/firewall/ingressRules', options)
|
|
661
|
+
command.request_representation = Google::Apis::AppengineV1::FirewallRule::Representation
|
|
662
|
+
command.request_object = firewall_rule_object
|
|
663
|
+
command.response_representation = Google::Apis::AppengineV1::FirewallRule::Representation
|
|
664
|
+
command.response_class = Google::Apis::AppengineV1::FirewallRule
|
|
665
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
666
|
+
command.query['fields'] = fields unless fields.nil?
|
|
667
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
668
|
+
execute_or_queue_command(command, &block)
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# Deletes the specified firewall rule.
|
|
672
|
+
# @param [String] apps_id
|
|
673
|
+
# Part of `name`. Name of the Firewall resource to delete. Example: apps/myapp/
|
|
674
|
+
# firewall/ingressRules/100.
|
|
675
|
+
# @param [String] ingress_rules_id
|
|
676
|
+
# Part of `name`. See documentation of `appsId`.
|
|
677
|
+
# @param [String] fields
|
|
678
|
+
# Selector specifying which fields to include in a partial response.
|
|
679
|
+
# @param [String] quota_user
|
|
680
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
681
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
682
|
+
# @param [Google::Apis::RequestOptions] options
|
|
683
|
+
# Request-specific options
|
|
684
|
+
#
|
|
685
|
+
# @yield [result, err] Result & error if block supplied
|
|
686
|
+
# @yieldparam result [Google::Apis::AppengineV1::Empty] parsed result object
|
|
687
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
688
|
+
#
|
|
689
|
+
# @return [Google::Apis::AppengineV1::Empty]
|
|
690
|
+
#
|
|
691
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
692
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
693
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
694
|
+
def delete_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
695
|
+
command = make_simple_command(:delete, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
|
|
696
|
+
command.response_representation = Google::Apis::AppengineV1::Empty::Representation
|
|
697
|
+
command.response_class = Google::Apis::AppengineV1::Empty
|
|
698
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
699
|
+
command.params['ingressRulesId'] = ingress_rules_id unless ingress_rules_id.nil?
|
|
700
|
+
command.query['fields'] = fields unless fields.nil?
|
|
701
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
702
|
+
execute_or_queue_command(command, &block)
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
# Gets the specified firewall rule.
|
|
706
|
+
# @param [String] apps_id
|
|
707
|
+
# Part of `name`. Name of the Firewall resource to retrieve. Example: apps/myapp/
|
|
708
|
+
# firewall/ingressRules/100.
|
|
709
|
+
# @param [String] ingress_rules_id
|
|
710
|
+
# Part of `name`. See documentation of `appsId`.
|
|
711
|
+
# @param [String] fields
|
|
712
|
+
# Selector specifying which fields to include in a partial response.
|
|
713
|
+
# @param [String] quota_user
|
|
714
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
715
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
716
|
+
# @param [Google::Apis::RequestOptions] options
|
|
717
|
+
# Request-specific options
|
|
718
|
+
#
|
|
719
|
+
# @yield [result, err] Result & error if block supplied
|
|
720
|
+
# @yieldparam result [Google::Apis::AppengineV1::FirewallRule] parsed result object
|
|
721
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
722
|
+
#
|
|
723
|
+
# @return [Google::Apis::AppengineV1::FirewallRule]
|
|
724
|
+
#
|
|
725
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
726
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
727
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
728
|
+
def get_app_firewall_ingress_rule(apps_id, ingress_rules_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
729
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
|
|
730
|
+
command.response_representation = Google::Apis::AppengineV1::FirewallRule::Representation
|
|
731
|
+
command.response_class = Google::Apis::AppengineV1::FirewallRule
|
|
732
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
733
|
+
command.params['ingressRulesId'] = ingress_rules_id unless ingress_rules_id.nil?
|
|
734
|
+
command.query['fields'] = fields unless fields.nil?
|
|
735
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
736
|
+
execute_or_queue_command(command, &block)
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
# Lists the firewall rules of an application.
|
|
740
|
+
# @param [String] apps_id
|
|
741
|
+
# Part of `parent`. Name of the Firewall collection to retrieve. Example: apps/
|
|
742
|
+
# myapp/firewall/ingressRules.
|
|
743
|
+
# @param [String] matching_address
|
|
744
|
+
# A valid IP Address. If set, only rules matching this address will be returned.
|
|
745
|
+
# The first returned rule will be the rule that fires on requests from this IP.
|
|
746
|
+
# @param [Fixnum] page_size
|
|
747
|
+
# Maximum results to return per page.
|
|
748
|
+
# @param [String] page_token
|
|
749
|
+
# Continuation token for fetching the next page of results.
|
|
750
|
+
# @param [String] fields
|
|
751
|
+
# Selector specifying which fields to include in a partial response.
|
|
752
|
+
# @param [String] quota_user
|
|
753
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
754
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
755
|
+
# @param [Google::Apis::RequestOptions] options
|
|
756
|
+
# Request-specific options
|
|
757
|
+
#
|
|
758
|
+
# @yield [result, err] Result & error if block supplied
|
|
759
|
+
# @yieldparam result [Google::Apis::AppengineV1::ListIngressRulesResponse] parsed result object
|
|
760
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
761
|
+
#
|
|
762
|
+
# @return [Google::Apis::AppengineV1::ListIngressRulesResponse]
|
|
763
|
+
#
|
|
764
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
765
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
766
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
767
|
+
def list_app_firewall_ingress_rules(apps_id, matching_address: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
768
|
+
command = make_simple_command(:get, 'v1/apps/{appsId}/firewall/ingressRules', options)
|
|
769
|
+
command.response_representation = Google::Apis::AppengineV1::ListIngressRulesResponse::Representation
|
|
770
|
+
command.response_class = Google::Apis::AppengineV1::ListIngressRulesResponse
|
|
771
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
772
|
+
command.query['matchingAddress'] = matching_address unless matching_address.nil?
|
|
773
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
774
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
775
|
+
command.query['fields'] = fields unless fields.nil?
|
|
776
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
777
|
+
execute_or_queue_command(command, &block)
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
# Updates the specified firewall rule.
|
|
781
|
+
# @param [String] apps_id
|
|
782
|
+
# Part of `name`. Name of the Firewall resource to update. Example: apps/myapp/
|
|
783
|
+
# firewall/ingressRules/100.
|
|
784
|
+
# @param [String] ingress_rules_id
|
|
785
|
+
# Part of `name`. See documentation of `appsId`.
|
|
786
|
+
# @param [Google::Apis::AppengineV1::FirewallRule] firewall_rule_object
|
|
787
|
+
# @param [String] update_mask
|
|
788
|
+
# Standard field mask for the set of fields to be updated.
|
|
789
|
+
# @param [String] fields
|
|
790
|
+
# Selector specifying which fields to include in a partial response.
|
|
791
|
+
# @param [String] quota_user
|
|
792
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
793
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
794
|
+
# @param [Google::Apis::RequestOptions] options
|
|
795
|
+
# Request-specific options
|
|
796
|
+
#
|
|
797
|
+
# @yield [result, err] Result & error if block supplied
|
|
798
|
+
# @yieldparam result [Google::Apis::AppengineV1::FirewallRule] parsed result object
|
|
799
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
800
|
+
#
|
|
801
|
+
# @return [Google::Apis::AppengineV1::FirewallRule]
|
|
802
|
+
#
|
|
803
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
804
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
805
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
806
|
+
def patch_app_firewall_ingress_rule(apps_id, ingress_rules_id, firewall_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
807
|
+
command = make_simple_command(:patch, 'v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}', options)
|
|
808
|
+
command.request_representation = Google::Apis::AppengineV1::FirewallRule::Representation
|
|
809
|
+
command.request_object = firewall_rule_object
|
|
810
|
+
command.response_representation = Google::Apis::AppengineV1::FirewallRule::Representation
|
|
811
|
+
command.response_class = Google::Apis::AppengineV1::FirewallRule
|
|
812
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
813
|
+
command.params['ingressRulesId'] = ingress_rules_id unless ingress_rules_id.nil?
|
|
814
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
815
|
+
command.query['fields'] = fields unless fields.nil?
|
|
816
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
817
|
+
execute_or_queue_command(command, &block)
|
|
818
|
+
end
|
|
819
|
+
|
|
600
820
|
# Get information about a location.
|
|
601
821
|
# @param [String] apps_id
|
|
602
822
|
# Part of `name`. Resource name for the location.
|