google-api-client 0.37.0 → 0.37.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +76 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +236 -22
  5. data/generated/google/apis/accesscontextmanager_v1/representations.rb +104 -0
  6. data/generated/google/apis/accesscontextmanager_v1/service.rb +135 -0
  7. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +24 -22
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  11. data/generated/google/apis/alertcenter_v1beta1/classes.rb +64 -0
  12. data/generated/google/apis/alertcenter_v1beta1/representations.rb +31 -0
  13. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  14. data/generated/google/apis/chat_v1.rb +1 -1
  15. data/generated/google/apis/chat_v1/classes.rb +10 -1
  16. data/generated/google/apis/chat_v1/representations.rb +1 -0
  17. data/generated/google/apis/classroom_v1.rb +1 -1
  18. data/generated/google/apis/cloudasset_v1.rb +1 -1
  19. data/generated/google/apis/cloudasset_v1/classes.rb +98 -34
  20. data/generated/google/apis/cloudasset_v1/representations.rb +19 -0
  21. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  23. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  25. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  26. data/generated/google/apis/cloudidentity_v1/classes.rb +152 -151
  27. data/generated/google/apis/cloudidentity_v1/representations.rb +72 -72
  28. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  29. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +0 -560
  30. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +0 -226
  31. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  33. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  34. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +144 -0
  35. data/generated/google/apis/cloudtrace_v2beta1/representations.rb +82 -0
  36. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  37. data/generated/google/apis/compute_alpha.rb +1 -1
  38. data/generated/google/apis/compute_alpha/classes.rb +190 -46
  39. data/generated/google/apis/compute_alpha/representations.rb +35 -14
  40. data/generated/google/apis/compute_alpha/service.rb +40 -56
  41. data/generated/google/apis/compute_beta.rb +1 -1
  42. data/generated/google/apis/compute_beta/classes.rb +98 -24
  43. data/generated/google/apis/compute_beta/representations.rb +2 -0
  44. data/generated/google/apis/compute_beta/service.rb +1 -2
  45. data/generated/google/apis/compute_v1.rb +1 -1
  46. data/generated/google/apis/compute_v1/classes.rb +123 -19
  47. data/generated/google/apis/compute_v1/representations.rb +19 -0
  48. data/generated/google/apis/container_v1.rb +1 -1
  49. data/generated/google/apis/container_v1/classes.rb +2 -2
  50. data/generated/google/apis/container_v1beta1.rb +1 -1
  51. data/generated/google/apis/container_v1beta1/classes.rb +2 -2
  52. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  53. data/generated/google/apis/datacatalog_v1beta1/classes.rb +4 -3
  54. data/generated/google/apis/datacatalog_v1beta1/service.rb +190 -17
  55. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  56. data/generated/google/apis/dataflow_v1b3/classes.rb +40 -0
  57. data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
  58. data/generated/google/apis/dataproc_v1.rb +1 -1
  59. data/generated/google/apis/dataproc_v1/classes.rb +67 -0
  60. data/generated/google/apis/dataproc_v1/representations.rb +23 -0
  61. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  62. data/generated/google/apis/dlp_v2.rb +1 -1
  63. data/generated/google/apis/dlp_v2/classes.rb +2 -1
  64. data/generated/google/apis/docs_v1.rb +1 -1
  65. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  66. data/generated/google/apis/driveactivity_v2.rb +1 -1
  67. data/generated/google/apis/file_v1.rb +1 -1
  68. data/generated/google/apis/file_v1/classes.rb +6 -19
  69. data/generated/google/apis/file_v1/service.rb +1 -1
  70. data/generated/google/apis/file_v1beta1.rb +1 -1
  71. data/generated/google/apis/file_v1beta1/classes.rb +4 -17
  72. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  73. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  74. data/generated/google/apis/fitness_v1.rb +1 -1
  75. data/generated/google/apis/fitness_v1/classes.rb +10 -5
  76. data/generated/google/apis/fitness_v1/service.rb +1 -1
  77. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  78. data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
  79. data/generated/google/apis/homegraph_v1.rb +1 -1
  80. data/generated/google/apis/indexing_v3.rb +1 -1
  81. data/generated/google/apis/jobs_v2.rb +1 -1
  82. data/generated/google/apis/jobs_v3.rb +1 -1
  83. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  84. data/generated/google/apis/logging_v2.rb +1 -1
  85. data/generated/google/apis/logging_v2/classes.rb +84 -0
  86. data/generated/google/apis/logging_v2/representations.rb +33 -0
  87. data/generated/google/apis/logging_v2/service.rb +680 -0
  88. data/generated/google/apis/monitoring_v3.rb +1 -1
  89. data/generated/google/apis/monitoring_v3/classes.rb +21 -18
  90. data/generated/google/apis/monitoring_v3/service.rb +27 -18
  91. data/generated/google/apis/oslogin_v1.rb +1 -1
  92. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  93. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  94. data/generated/google/apis/people_v1.rb +1 -1
  95. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  98. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  99. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  100. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  101. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  102. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  103. data/generated/google/apis/script_v1.rb +1 -1
  104. data/generated/google/apis/secretmanager_v1.rb +35 -0
  105. data/generated/google/apis/secretmanager_v1/classes.rb +970 -0
  106. data/generated/google/apis/secretmanager_v1/representations.rb +388 -0
  107. data/generated/google/apis/secretmanager_v1/service.rb +675 -0
  108. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  109. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  110. data/generated/google/apis/servicemanagement_v1/classes.rb +36 -0
  111. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  112. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  113. data/generated/google/apis/servicenetworking_v1/classes.rb +19 -0
  114. data/generated/google/apis/servicenetworking_v1/representations.rb +2 -0
  115. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  116. data/generated/google/apis/serviceusage_v1.rb +1 -1
  117. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  118. data/generated/google/apis/sheets_v4.rb +1 -1
  119. data/generated/google/apis/slides_v1.rb +1 -1
  120. data/generated/google/apis/spanner_v1.rb +1 -1
  121. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  122. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  123. data/generated/google/apis/storagetransfer_v1/classes.rb +94 -85
  124. data/generated/google/apis/storagetransfer_v1/service.rb +17 -11
  125. data/generated/google/apis/tagmanager_v1.rb +1 -1
  126. data/generated/google/apis/tagmanager_v2.rb +1 -1
  127. data/generated/google/apis/testing_v1.rb +1 -1
  128. data/generated/google/apis/testing_v1/classes.rb +29 -0
  129. data/generated/google/apis/testing_v1/representations.rb +15 -0
  130. data/generated/google/apis/toolresults_v1.rb +1 -1
  131. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  132. data/lib/google/apis/version.rb +1 -1
  133. metadata +11 -3
@@ -9156,7 +9156,9 @@ module Google
9156
9156
  property :auto_create_routes, as: 'autoCreateRoutes'
9157
9157
  property :exchange_subnet_routes, as: 'exchangeSubnetRoutes'
9158
9158
  property :export_custom_routes, as: 'exportCustomRoutes'
9159
+ property :export_subnet_routes_with_public_ip, as: 'exportSubnetRoutesWithPublicIp'
9159
9160
  property :import_custom_routes, as: 'importCustomRoutes'
9161
+ property :import_subnet_routes_with_public_ip, as: 'importSubnetRoutesWithPublicIp'
9160
9162
  property :name, as: 'name'
9161
9163
  property :network, as: 'network'
9162
9164
  property :state, as: 'state'
@@ -18022,8 +18022,7 @@ module Google
18022
18022
  execute_or_queue_command(command, &block)
18023
18023
  end
18024
18024
 
18025
- # Update the shape of reservations for GPUS/Local SSDs of reservations within
18026
- # the commitments.
18025
+ # Transfers GPUs or local SSDs between reservations within commitments.
18027
18026
  # @param [String] project
18028
18027
  # Project ID for this request.
18029
18028
  # @param [String] region
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200114'
28
+ REVISION = '20200120'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2701,6 +2701,12 @@ module Google
2701
2701
  # @return [String]
2702
2702
  attr_accessor :locality_lb_policy
2703
2703
 
2704
+ # The available logging options for the load balancer traffic served by this
2705
+ # backend service.
2706
+ # Corresponds to the JSON property `logConfig`
2707
+ # @return [Google::Apis::ComputeV1::BackendServiceLogConfig]
2708
+ attr_accessor :log_config
2709
+
2704
2710
  # Name of the resource. Provided by the client when the resource is created. The
2705
2711
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
2706
2712
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -2711,6 +2717,12 @@ module Google
2711
2717
  # @return [String]
2712
2718
  attr_accessor :name
2713
2719
 
2720
+ # The URL of the network to which this backend service belongs. This field can
2721
+ # only be spcified when the load balancing scheme is set to INTERNAL.
2722
+ # Corresponds to the JSON property `network`
2723
+ # @return [String]
2724
+ attr_accessor :network
2725
+
2714
2726
  # Settings controlling the eviction of unhealthy hosts from the load balancing
2715
2727
  # pool for the backend service.
2716
2728
  # Corresponds to the JSON property `outlierDetection`
@@ -2808,7 +2820,9 @@ module Google
2808
2820
  @kind = args[:kind] if args.key?(:kind)
2809
2821
  @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
2810
2822
  @locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
2823
+ @log_config = args[:log_config] if args.key?(:log_config)
2811
2824
  @name = args[:name] if args.key?(:name)
2825
+ @network = args[:network] if args.key?(:network)
2812
2826
  @outlier_detection = args[:outlier_detection] if args.key?(:outlier_detection)
2813
2827
  @port = args[:port] if args.key?(:port)
2814
2828
  @port_name = args[:port_name] if args.key?(:port_name)
@@ -3159,6 +3173,38 @@ module Google
3159
3173
  end
3160
3174
  end
3161
3175
 
3176
+ # The available logging options for the load balancer traffic served by this
3177
+ # backend service.
3178
+ class BackendServiceLogConfig
3179
+ include Google::Apis::Core::Hashable
3180
+
3181
+ # This field denotes whether to enable logging for the load balancer traffic
3182
+ # served by this backend service.
3183
+ # Corresponds to the JSON property `enable`
3184
+ # @return [Boolean]
3185
+ attr_accessor :enable
3186
+ alias_method :enable?, :enable
3187
+
3188
+ # This field can only be specified if logging is enabled for this backend
3189
+ # service. The value of the field must be in [0, 1]. This configures the
3190
+ # sampling rate of requests to the load balancer where 1.0 means all logged
3191
+ # requests are reported and 0.0 means no logged requests are reported. The
3192
+ # default value is 1.0.
3193
+ # Corresponds to the JSON property `sampleRate`
3194
+ # @return [Float]
3195
+ attr_accessor :sample_rate
3196
+
3197
+ def initialize(**args)
3198
+ update!(**args)
3199
+ end
3200
+
3201
+ # Update properties of this object
3202
+ def update!(**args)
3203
+ @enable = args[:enable] if args.key?(:enable)
3204
+ @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
3205
+ end
3206
+ end
3207
+
3162
3208
  #
3163
3209
  class BackendServiceReference
3164
3210
  include Google::Apis::Core::Hashable
@@ -3273,9 +3319,26 @@ module Google
3273
3319
  class Binding
3274
3320
  include Google::Apis::Core::Hashable
3275
3321
 
3276
- # Represents an expression text. Example:
3277
- # title: "User account presence" description: "Determines whether the request
3278
- # has a user account" expression: "size(request.user) > 0"
3322
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
3323
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
3324
+ # documented at https://github.com/google/cel-spec.
3325
+ # Example (Comparison):
3326
+ # title: "Summary size limit" description: "Determines if a summary is less than
3327
+ # 100 chars" expression: "document.summary.size() < 100"
3328
+ # Example (Equality):
3329
+ # title: "Requestor is owner" description: "Determines if requestor is the
3330
+ # document owner" expression: "document.owner == request.auth.claims.email"
3331
+ # Example (Logic):
3332
+ # title: "Public documents" description: "Determine whether the document should
3333
+ # be publicly visible" expression: "document.type != 'private' && document.type !
3334
+ # = 'internal'"
3335
+ # Example (Data Manipulation):
3336
+ # title: "Notification string" description: "Create a notification string with a
3337
+ # timestamp." expression: "'New message received at ' + string(document.
3338
+ # create_time)"
3339
+ # The exact variables and functions that may be referenced within an expression
3340
+ # are determined by the service that evaluates it. See the service documentation
3341
+ # for additional information.
3279
3342
  # Corresponds to the JSON property `condition`
3280
3343
  # @return [Google::Apis::ComputeV1::Expr]
3281
3344
  attr_accessor :condition
@@ -5643,33 +5706,48 @@ module Google
5643
5706
  end
5644
5707
  end
5645
5708
 
5646
- # Represents an expression text. Example:
5647
- # title: "User account presence" description: "Determines whether the request
5648
- # has a user account" expression: "size(request.user) > 0"
5709
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
5710
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
5711
+ # documented at https://github.com/google/cel-spec.
5712
+ # Example (Comparison):
5713
+ # title: "Summary size limit" description: "Determines if a summary is less than
5714
+ # 100 chars" expression: "document.summary.size() < 100"
5715
+ # Example (Equality):
5716
+ # title: "Requestor is owner" description: "Determines if requestor is the
5717
+ # document owner" expression: "document.owner == request.auth.claims.email"
5718
+ # Example (Logic):
5719
+ # title: "Public documents" description: "Determine whether the document should
5720
+ # be publicly visible" expression: "document.type != 'private' && document.type !
5721
+ # = 'internal'"
5722
+ # Example (Data Manipulation):
5723
+ # title: "Notification string" description: "Create a notification string with a
5724
+ # timestamp." expression: "'New message received at ' + string(document.
5725
+ # create_time)"
5726
+ # The exact variables and functions that may be referenced within an expression
5727
+ # are determined by the service that evaluates it. See the service documentation
5728
+ # for additional information.
5649
5729
  class Expr
5650
5730
  include Google::Apis::Core::Hashable
5651
5731
 
5652
- # An optional description of the expression. This is a longer text which
5653
- # describes the expression, e.g. when hovered over it in a UI.
5732
+ # Optional. Description of the expression. This is a longer text which describes
5733
+ # the expression, e.g. when hovered over it in a UI.
5654
5734
  # Corresponds to the JSON property `description`
5655
5735
  # @return [String]
5656
5736
  attr_accessor :description
5657
5737
 
5658
5738
  # Textual representation of an expression in Common Expression Language syntax.
5659
- # The application context of the containing message determines which well-known
5660
- # feature set of CEL is supported.
5661
5739
  # Corresponds to the JSON property `expression`
5662
5740
  # @return [String]
5663
5741
  attr_accessor :expression
5664
5742
 
5665
- # An optional string indicating the location of the expression for error
5666
- # reporting, e.g. a file name and a position in the file.
5743
+ # Optional. String indicating the location of the expression for error reporting,
5744
+ # e.g. a file name and a position in the file.
5667
5745
  # Corresponds to the JSON property `location`
5668
5746
  # @return [String]
5669
5747
  attr_accessor :location
5670
5748
 
5671
- # An optional title for the expression, i.e. a short string describing its
5672
- # purpose. This can be used e.g. in UIs which allow to enter the expression.
5749
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
5750
+ # This can be used e.g. in UIs which allow to enter the expression.
5673
5751
  # Corresponds to the JSON property `title`
5674
5752
  # @return [String]
5675
5753
  attr_accessor :title
@@ -7961,12 +8039,13 @@ module Google
7961
8039
  # @return [String]
7962
8040
  attr_accessor :instance
7963
8041
 
7964
- # The IP address represented by this resource.
8042
+ # A forwarding rule IP address assigned to this instance.
7965
8043
  # Corresponds to the JSON property `ipAddress`
7966
8044
  # @return [String]
7967
8045
  attr_accessor :ip_address
7968
8046
 
7969
- # The port on the instance.
8047
+ # The named port of the instance group, not necessarily the port that is health-
8048
+ # checked.
7970
8049
  # Corresponds to the JSON property `port`
7971
8050
  # @return [Fixnum]
7972
8051
  attr_accessor :port
@@ -10414,9 +10493,9 @@ module Google
10414
10493
  # @return [Array<String>]
10415
10494
  attr_accessor :target_pools
10416
10495
 
10417
- # The target number of running instances for this managed instance group.
10418
- # Deleting or abandoning instances reduces this number. Resizing the group
10419
- # changes this number.
10496
+ # The target number of running instances for this managed instance group. You
10497
+ # can reduce this number by using the instanceGroupManager deleteInstances or
10498
+ # abandonInstances methods. Resizing the group also changes this number.
10420
10499
  # Corresponds to the JSON property `targetSize`
10421
10500
  # @return [Fixnum]
10422
10501
  attr_accessor :target_size
@@ -24273,6 +24352,30 @@ module Google
24273
24352
  # @return [Google::Apis::ComputeV1::SecurityPolicyRuleMatcherConfig]
24274
24353
  attr_accessor :config
24275
24354
 
24355
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
24356
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
24357
+ # documented at https://github.com/google/cel-spec.
24358
+ # Example (Comparison):
24359
+ # title: "Summary size limit" description: "Determines if a summary is less than
24360
+ # 100 chars" expression: "document.summary.size() < 100"
24361
+ # Example (Equality):
24362
+ # title: "Requestor is owner" description: "Determines if requestor is the
24363
+ # document owner" expression: "document.owner == request.auth.claims.email"
24364
+ # Example (Logic):
24365
+ # title: "Public documents" description: "Determine whether the document should
24366
+ # be publicly visible" expression: "document.type != 'private' && document.type !
24367
+ # = 'internal'"
24368
+ # Example (Data Manipulation):
24369
+ # title: "Notification string" description: "Create a notification string with a
24370
+ # timestamp." expression: "'New message received at ' + string(document.
24371
+ # create_time)"
24372
+ # The exact variables and functions that may be referenced within an expression
24373
+ # are determined by the service that evaluates it. See the service documentation
24374
+ # for additional information.
24375
+ # Corresponds to the JSON property `expr`
24376
+ # @return [Google::Apis::ComputeV1::Expr]
24377
+ attr_accessor :expr
24378
+
24276
24379
  # Preconfigured versioned expression. If this field is specified, config must
24277
24380
  # also be specified. Available preconfigured expressions along with their
24278
24381
  # requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range
@@ -24288,6 +24391,7 @@ module Google
24288
24391
  # Update properties of this object
24289
24392
  def update!(**args)
24290
24393
  @config = args[:config] if args.key?(:config)
24394
+ @expr = args[:expr] if args.key?(:expr)
24291
24395
  @versioned_expr = args[:versioned_expr] if args.key?(:versioned_expr)
24292
24396
  end
24293
24397
  end
@@ -394,6 +394,12 @@ module Google
394
394
  include Google::Apis::Core::JsonObjectSupport
395
395
  end
396
396
 
397
+ class BackendServiceLogConfig
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
397
403
  class BackendServiceReference
398
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
405
 
@@ -4992,7 +4998,10 @@ module Google
4992
4998
  property :kind, as: 'kind'
4993
4999
  property :load_balancing_scheme, as: 'loadBalancingScheme'
4994
5000
  property :locality_lb_policy, as: 'localityLbPolicy'
5001
+ property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::BackendServiceLogConfig, decorator: Google::Apis::ComputeV1::BackendServiceLogConfig::Representation
5002
+
4995
5003
  property :name, as: 'name'
5004
+ property :network, as: 'network'
4996
5005
  property :outlier_detection, as: 'outlierDetection', class: Google::Apis::ComputeV1::OutlierDetection, decorator: Google::Apis::ComputeV1::OutlierDetection::Representation
4997
5006
 
4998
5007
  property :port, as: 'port'
@@ -5099,6 +5108,14 @@ module Google
5099
5108
  end
5100
5109
  end
5101
5110
 
5111
+ class BackendServiceLogConfig
5112
+ # @private
5113
+ class Representation < Google::Apis::Core::JsonRepresentation
5114
+ property :enable, as: 'enable'
5115
+ property :sample_rate, as: 'sampleRate'
5116
+ end
5117
+ end
5118
+
5102
5119
  class BackendServiceReference
5103
5120
  # @private
5104
5121
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10364,6 +10381,8 @@ module Google
10364
10381
  class Representation < Google::Apis::Core::JsonRepresentation
10365
10382
  property :config, as: 'config', class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherConfig::Representation
10366
10383
 
10384
+ property :expr, as: 'expr', class: Google::Apis::ComputeV1::Expr, decorator: Google::Apis::ComputeV1::Expr::Representation
10385
+
10367
10386
  property :versioned_expr, as: 'versionedExpr'
10368
10387
  end
10369
10388
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200128'
29
+ REVISION = '20200214'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1302,8 +1302,8 @@ module Google
1302
1302
  include Google::Apis::Core::Hashable
1303
1303
 
1304
1304
  # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1305
- # When enabled, it ensures that a Heapster pod is running in the cluster,
1306
- # which is also used by the Cloud Monitoring service.
1305
+ # When enabled, it ensures that metrics are collected into Stackdriver
1306
+ # Monitoring.
1307
1307
  # Corresponds to the JSON property `disabled`
1308
1308
  # @return [Boolean]
1309
1309
  attr_accessor :disabled
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200128'
29
+ REVISION = '20200214'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1552,8 +1552,8 @@ module Google
1552
1552
  include Google::Apis::Core::Hashable
1553
1553
 
1554
1554
  # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1555
- # When enabled, it ensures that a Heapster pod is running in the cluster,
1556
- # which is also used by the Cloud Monitoring service.
1555
+ # When enabled, it ensures that metrics are collected into Stackdriver
1556
+ # Monitoring.
1557
1557
  # Corresponds to the JSON property `disabled`
1558
1558
  # @return [Boolean]
1559
1559
  attr_accessor :disabled
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/data-catalog/docs/
27
27
  module DatacatalogV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200206'
29
+ REVISION = '20200211'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -351,9 +351,10 @@ module Google
351
351
 
352
352
  # Entry Metadata.
353
353
  # A Data Catalog Entry resource represents another resource in Google
354
- # Cloud Platform, such as a BigQuery dataset or a Cloud Pub/Sub topic.
355
- # Clients can use the `linked_resource` field in the Entry resource to refer to
356
- # the original resource ID of the source system.
354
+ # Cloud Platform (such as a BigQuery dataset or a Cloud Pub/Sub topic), or
355
+ # outside of Google Cloud Platform. Clients can use the `linked_resource` field
356
+ # in the Entry resource to refer to the original resource ID of the source
357
+ # system.
357
358
  # An Entry resource contains resource details, such as its schema. An Entry can
358
359
  # also be used to attach flexible metadata, such as a
359
360
  # Tag.
@@ -139,12 +139,11 @@ module Google
139
139
  execute_or_queue_command(command, &block)
140
140
  end
141
141
 
142
- # Creates an EntryGroup.
143
- # The user should enable the Data Catalog API in the project identified by
144
- # the `parent` parameter (see [Data Catalog Resource Project]
145
- # (/data-catalog/docs/concepts/resource-project) for more information).
146
142
  # A maximum of 10,000 entry groups may be created per organization across all
147
143
  # locations.
144
+ # Users should enable the Data Catalog API in the project identified by
145
+ # the `parent` parameter (see [Data Catalog Resource Project]
146
+ # (/data-catalog/docs/concepts/resource-project) for more information).
148
147
  # @param [String] parent
149
148
  # Required. The name of the project this entry group is in. Example:
150
149
  # * projects/`project_id`/locations/`location`
@@ -186,7 +185,7 @@ module Google
186
185
  end
187
186
 
188
187
  # Deletes an EntryGroup. Only entry groups that do not contain entries can be
189
- # deleted. The user should enable the Data Catalog API in the project
188
+ # deleted. Users should enable the Data Catalog API in the project
190
189
  # identified by the `name` parameter (see [Data Catalog Resource Project]
191
190
  # (/data-catalog/docs/concepts/resource-project) for more information).
192
191
  # @param [String] name
@@ -484,7 +483,7 @@ module Google
484
483
 
485
484
  # Creates an entry. Only entries of 'FILESET' type or user-specified type can
486
485
  # be created.
487
- # The user should enable the Data Catalog API in the project identified by
486
+ # Users should enable the Data Catalog API in the project identified by
488
487
  # the `parent` parameter (see [Data Catalog Resource Project]
489
488
  # (/data-catalog/docs/concepts/resource-project) for more information).
490
489
  # A maximum of 100,000 entries may be created per entry group.
@@ -529,7 +528,7 @@ module Google
529
528
  # Deletes an existing entry. Only entries created through
530
529
  # CreateEntry
531
530
  # method can be deleted.
532
- # The user should enable the Data Catalog API in the project identified by
531
+ # Users should enable the Data Catalog API in the project identified by
533
532
  # the `name` parameter (see [Data Catalog Resource Project]
534
533
  # (/data-catalog/docs/concepts/resource-project) for more information).
535
534
  # @param [String] name
@@ -568,10 +567,6 @@ module Google
568
567
  # Required. The name of the entry. Example:
569
568
  # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
570
569
  # entries/`entry_id`
571
- # Entry groups are logical groupings of entries. Currently, users cannot
572
- # create/modify entry groups. They are created by Data Catalog; they include
573
- # `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
574
- # entries.
575
570
  # @param [String] fields
576
571
  # Selector specifying which fields to include in a partial response.
577
572
  # @param [String] quota_user
@@ -694,7 +689,7 @@ module Google
694
689
  end
695
690
 
696
691
  # Updates an existing entry.
697
- # The user should enable the Data Catalog API in the project identified by
692
+ # Users should enable the Data Catalog API in the project identified by
698
693
  # the `entry.name` parameter (see [Data Catalog Resource Project]
699
694
  # (/data-catalog/docs/concepts/resource-project) for more information).
700
695
  # @param [String] name
@@ -716,6 +711,14 @@ module Google
716
711
  # * `description`
717
712
  # * `gcs_fileset_spec`
718
713
  # * `gcs_fileset_spec.file_patterns`
714
+ # * For entries with `user_specified_type`
715
+ # * `schema`
716
+ # * `display_name`
717
+ # * `description`
718
+ # * user_specified_type
719
+ # * user_specified_system
720
+ # * linked_resource
721
+ # * source_system_timestamps
719
722
  # @param [String] fields
720
723
  # Selector specifying which fields to include in a partial response.
721
724
  # @param [String] quota_user
@@ -873,7 +876,13 @@ module Google
873
876
  # Lists the tags on an Entry.
874
877
  # @param [String] parent
875
878
  # Required. The name of the Data Catalog resource to list the tags of. The
876
- # resource could be an Entry.
879
+ # resource
880
+ # could be an Entry or an
881
+ # EntryGroup.
882
+ # Examples:
883
+ # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
884
+ # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
885
+ # entries/`entry_id`
877
886
  # @param [Fixnum] page_size
878
887
  # The maximum number of tags to return. Default is 10. Max limit is 1000.
879
888
  # @param [String] page_token
@@ -949,6 +958,170 @@ module Google
949
958
  execute_or_queue_command(command, &block)
950
959
  end
951
960
 
961
+ # Creates a tag on an Entry.
962
+ # Note: The project identified by the `parent` parameter for the
963
+ # [tag](/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.
964
+ # entries.tags/create#path-parameters)
965
+ # and the
966
+ # [tag
967
+ # template](/data-catalog/docs/reference/rest/v1beta1/projects.locations.
968
+ # tagTemplates/create#path-parameters)
969
+ # used to create the tag must be from the same organization.
970
+ # @param [String] parent
971
+ # Required. The name of the resource to attach this tag to. Tags can be attached
972
+ # to
973
+ # Entries. Example:
974
+ # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
975
+ # entries/`entry_id`
976
+ # Note that this Tag and its child resources may not actually be stored in
977
+ # the location in this name.
978
+ # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object
979
+ # @param [String] fields
980
+ # Selector specifying which fields to include in a partial response.
981
+ # @param [String] quota_user
982
+ # Available to use for quota purposes for server-side applications. Can be any
983
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
984
+ # @param [Google::Apis::RequestOptions] options
985
+ # Request-specific options
986
+ #
987
+ # @yield [result, err] Result & error if block supplied
988
+ # @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] parsed result object
989
+ # @yieldparam err [StandardError] error object if request failed
990
+ #
991
+ # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag]
992
+ #
993
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
994
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
995
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
996
+ def create_project_location_entry_group_tag(parent, google_cloud_datacatalog_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block)
997
+ command = make_simple_command(:post, 'v1beta1/{+parent}/tags', options)
998
+ command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
999
+ command.request_object = google_cloud_datacatalog_v1beta1_tag_object
1000
+ command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
1001
+ command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
1002
+ command.params['parent'] = parent unless parent.nil?
1003
+ command.query['fields'] = fields unless fields.nil?
1004
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1005
+ execute_or_queue_command(command, &block)
1006
+ end
1007
+
1008
+ # Deletes a tag.
1009
+ # @param [String] name
1010
+ # Required. The name of the tag to delete. Example:
1011
+ # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
1012
+ # entries/`entry_id`/tags/`tag_id`
1013
+ # @param [String] fields
1014
+ # Selector specifying which fields to include in a partial response.
1015
+ # @param [String] quota_user
1016
+ # Available to use for quota purposes for server-side applications. Can be any
1017
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1018
+ # @param [Google::Apis::RequestOptions] options
1019
+ # Request-specific options
1020
+ #
1021
+ # @yield [result, err] Result & error if block supplied
1022
+ # @yieldparam result [Google::Apis::DatacatalogV1beta1::Empty] parsed result object
1023
+ # @yieldparam err [StandardError] error object if request failed
1024
+ #
1025
+ # @return [Google::Apis::DatacatalogV1beta1::Empty]
1026
+ #
1027
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1028
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1029
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1030
+ def delete_project_location_entry_group_tag(name, fields: nil, quota_user: nil, options: nil, &block)
1031
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
1032
+ command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation
1033
+ command.response_class = Google::Apis::DatacatalogV1beta1::Empty
1034
+ command.params['name'] = name unless name.nil?
1035
+ command.query['fields'] = fields unless fields.nil?
1036
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1037
+ execute_or_queue_command(command, &block)
1038
+ end
1039
+
1040
+ # Lists the tags on an Entry.
1041
+ # @param [String] parent
1042
+ # Required. The name of the Data Catalog resource to list the tags of. The
1043
+ # resource
1044
+ # could be an Entry or an
1045
+ # EntryGroup.
1046
+ # Examples:
1047
+ # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
1048
+ # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
1049
+ # entries/`entry_id`
1050
+ # @param [Fixnum] page_size
1051
+ # The maximum number of tags to return. Default is 10. Max limit is 1000.
1052
+ # @param [String] page_token
1053
+ # Token that specifies which page is requested. If empty, the first page is
1054
+ # returned.
1055
+ # @param [String] fields
1056
+ # Selector specifying which fields to include in a partial response.
1057
+ # @param [String] quota_user
1058
+ # Available to use for quota purposes for server-side applications. Can be any
1059
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1060
+ # @param [Google::Apis::RequestOptions] options
1061
+ # Request-specific options
1062
+ #
1063
+ # @yield [result, err] Result & error if block supplied
1064
+ # @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse] parsed result object
1065
+ # @yieldparam err [StandardError] error object if request failed
1066
+ #
1067
+ # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse]
1068
+ #
1069
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1070
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1071
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1072
+ def list_project_location_entry_group_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1073
+ command = make_simple_command(:get, 'v1beta1/{+parent}/tags', options)
1074
+ command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse::Representation
1075
+ command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse
1076
+ command.params['parent'] = parent unless parent.nil?
1077
+ command.query['pageSize'] = page_size unless page_size.nil?
1078
+ command.query['pageToken'] = page_token unless page_token.nil?
1079
+ command.query['fields'] = fields unless fields.nil?
1080
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1081
+ execute_or_queue_command(command, &block)
1082
+ end
1083
+
1084
+ # Updates an existing tag.
1085
+ # @param [String] name
1086
+ # The resource name of the tag in URL format. Example:
1087
+ # * projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/
1088
+ # entries/`entry_id`/tags/`tag_id`
1089
+ # where `tag_id` is a system-generated identifier.
1090
+ # Note that this Tag may not actually be stored in the location in this name.
1091
+ # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object
1092
+ # @param [String] update_mask
1093
+ # The fields to update on the Tag. If absent or empty, all modifiable fields
1094
+ # are updated. Currently the only modifiable field is the field `fields`.
1095
+ # @param [String] fields
1096
+ # Selector specifying which fields to include in a partial response.
1097
+ # @param [String] quota_user
1098
+ # Available to use for quota purposes for server-side applications. Can be any
1099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1100
+ # @param [Google::Apis::RequestOptions] options
1101
+ # Request-specific options
1102
+ #
1103
+ # @yield [result, err] Result & error if block supplied
1104
+ # @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] parsed result object
1105
+ # @yieldparam err [StandardError] error object if request failed
1106
+ #
1107
+ # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag]
1108
+ #
1109
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1110
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1111
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1112
+ def patch_project_location_entry_group_tag(name, google_cloud_datacatalog_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1113
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
1114
+ command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
1115
+ command.request_object = google_cloud_datacatalog_v1beta1_tag_object
1116
+ command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
1117
+ command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
1118
+ command.params['name'] = name unless name.nil?
1119
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1120
+ command.query['fields'] = fields unless fields.nil?
1121
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1122
+ execute_or_queue_command(command, &block)
1123
+ end
1124
+
952
1125
  # Creates a tag template. The user should enable the Data Catalog API in
953
1126
  # the project identified by the `parent` parameter (see [Data Catalog
954
1127
  # Resource Project](/data-catalog/docs/concepts/resource-project) for more
@@ -993,7 +1166,7 @@ module Google
993
1166
  end
994
1167
 
995
1168
  # Deletes a tag template and all tags using the template.
996
- # The user should enable the Data Catalog API in the project identified by
1169
+ # Users should enable the Data Catalog API in the project identified by
997
1170
  # the `name` parameter (see [Data Catalog Resource Project]
998
1171
  # (/data-catalog/docs/concepts/resource-project) for more information).
999
1172
  # @param [String] name
@@ -1113,7 +1286,7 @@ module Google
1113
1286
  # Updates a tag template. This method cannot be used to update the fields of
1114
1287
  # a template. The tag template fields are represented as separate resources
1115
1288
  # and should be updated using their own create/update/delete methods.
1116
- # The user should enable the Data Catalog API in the project identified by
1289
+ # Users should enable the Data Catalog API in the project identified by
1117
1290
  # the `tag_template.name` parameter (see [Data Catalog Resource Project]
1118
1291
  # (/data-catalog/docs/concepts/resource-project) for more information).
1119
1292
  # @param [String] name
@@ -1298,7 +1471,7 @@ module Google
1298
1471
  end
1299
1472
 
1300
1473
  # Deletes a field in a tag template and all uses of that field.
1301
- # The user should enable the Data Catalog API in the project identified by
1474
+ # Users should enable the Data Catalog API in the project identified by
1302
1475
  # the `name` parameter (see [Data Catalog Resource Project]
1303
1476
  # (/data-catalog/docs/concepts/resource-project) for more information).
1304
1477
  # @param [String] name
@@ -1338,7 +1511,7 @@ module Google
1338
1511
  end
1339
1512
 
1340
1513
  # Updates a field in a tag template. This method cannot be used to update the
1341
- # field type. The user should enable the Data Catalog API in the project
1514
+ # field type. Users should enable the Data Catalog API in the project
1342
1515
  # identified by the `name` parameter (see [Data Catalog Resource Project]
1343
1516
  # (/data-catalog/docs/concepts/resource-project) for more information).
1344
1517
  # @param [String] name