google-api-client 0.27.3 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/service.rb +4 -4
  5. data/generated/google/apis/analytics_v3.rb +1 -1
  6. data/generated/google/apis/analytics_v3/classes.rb +18 -112
  7. data/generated/google/apis/analytics_v3/representations.rb +0 -36
  8. data/generated/google/apis/analytics_v3/service.rb +18 -18
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +20 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  13. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  14. data/generated/google/apis/cloudbilling_v1/classes.rb +7 -0
  15. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  18. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  19. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
  20. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  21. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -8
  22. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  23. data/generated/google/apis/composer_v1.rb +1 -1
  24. data/generated/google/apis/composer_v1/classes.rb +59 -0
  25. data/generated/google/apis/composer_v1/representations.rb +30 -0
  26. data/generated/google/apis/composer_v1/service.rb +37 -0
  27. data/generated/google/apis/composer_v1beta1.rb +1 -1
  28. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  29. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  30. data/generated/google/apis/composer_v1beta1/service.rb +37 -0
  31. data/generated/google/apis/dialogflow_v2.rb +1 -1
  32. data/generated/google/apis/dialogflow_v2/classes.rb +2 -0
  33. data/generated/google/apis/dialogflow_v2/service.rb +8 -16
  34. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  35. data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
  36. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -16
  37. data/generated/google/apis/firebasehosting_v1beta1.rb +4 -3
  38. data/generated/google/apis/firebasehosting_v1beta1/service.rb +3 -2
  39. data/generated/google/apis/fitness_v1.rb +1 -1
  40. data/generated/google/apis/fitness_v1/classes.rb +7 -6
  41. data/generated/google/apis/iam_v1.rb +1 -1
  42. data/generated/google/apis/iam_v1/classes.rb +37 -0
  43. data/generated/google/apis/iam_v1/representations.rb +15 -0
  44. data/generated/google/apis/iam_v1/service.rb +44 -0
  45. data/generated/google/apis/iap_v1.rb +1 -1
  46. data/generated/google/apis/iap_v1/service.rb +3 -558
  47. data/generated/google/apis/iap_v1beta1.rb +1 -1
  48. data/generated/google/apis/iap_v1beta1/service.rb +3 -568
  49. data/generated/google/apis/jobs_v2.rb +1 -1
  50. data/generated/google/apis/jobs_v2/classes.rb +1 -1
  51. data/generated/google/apis/jobs_v2/service.rb +2 -2
  52. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  53. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -0
  54. data/generated/google/apis/logging_v2.rb +1 -1
  55. data/generated/google/apis/logging_v2/classes.rb +52 -10
  56. data/generated/google/apis/logging_v2/representations.rb +6 -0
  57. data/generated/google/apis/logging_v2/service.rb +9 -9
  58. data/generated/google/apis/logging_v2beta1.rb +1 -1
  59. data/generated/google/apis/logging_v2beta1/classes.rb +37 -9
  60. data/generated/google/apis/logging_v2beta1/representations.rb +4 -0
  61. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  62. data/generated/google/apis/ml_v1.rb +1 -1
  63. data/generated/google/apis/ml_v1/classes.rb +10 -12
  64. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  65. data/generated/google/apis/remotebuildexecution_v1/classes.rb +111 -88
  66. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -1
  67. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  68. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +111 -88
  69. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -1
  70. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  71. data/generated/google/apis/remotebuildexecution_v2/classes.rb +141 -116
  72. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -1
  73. data/generated/google/apis/remotebuildexecution_v2/service.rb +6 -5
  74. data/generated/google/apis/script_v1.rb +1 -1
  75. data/generated/google/apis/script_v1/classes.rb +2 -1
  76. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  77. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  78. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  79. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -0
  80. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  81. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  82. data/generated/google/apis/servicenetworking_v1beta/classes.rb +71 -0
  83. data/generated/google/apis/servicenetworking_v1beta/representations.rb +30 -0
  84. data/generated/google/apis/serviceusage_v1.rb +1 -1
  85. data/generated/google/apis/serviceusage_v1/service.rb +0 -3
  86. data/generated/google/apis/speech_v1.rb +1 -1
  87. data/generated/google/apis/speech_v1/classes.rb +20 -0
  88. data/generated/google/apis/speech_v1/representations.rb +2 -0
  89. data/generated/google/apis/speech_v1/service.rb +111 -0
  90. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
  92. data/generated/google/apis/speech_v1p1beta1/service.rb +111 -0
  93. data/generated/google/apis/videointelligence_v1.rb +1 -1
  94. data/generated/google/apis/videointelligence_v1/classes.rb +14 -0
  95. data/generated/google/apis/videointelligence_v1/representations.rb +1 -0
  96. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  97. data/generated/google/apis/videointelligence_v1beta2/classes.rb +14 -0
  98. data/generated/google/apis/videointelligence_v1beta2/representations.rb +1 -0
  99. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  100. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +14 -0
  101. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +1 -0
  102. data/generated/google/apis/vision_v1.rb +1 -1
  103. data/generated/google/apis/vision_v1/classes.rb +2 -1
  104. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  105. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  106. data/lib/google/apis/version.rb +1 -1
  107. metadata +2 -6
  108. data/generated/google/apis/monitoring_v1.rb +0 -33
  109. data/generated/google/apis/monitoring_v1/classes.rb +0 -474
  110. data/generated/google/apis/monitoring_v1/representations.rb +0 -195
  111. data/generated/google/apis/monitoring_v1/service.rb +0 -211
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/talent-solution/job-search/docs/
27
27
  module JobsV2
28
28
  VERSION = 'V2'
29
- REVISION = '20181114'
29
+ REVISION = '20190110'
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'
@@ -800,7 +800,7 @@ module Google
800
800
  # be specified.
801
801
  # This field is used to perform number range search.
802
802
  # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`. For
803
- # `long_value`, a value between Long.MIN and Long.MIN is allowed.
803
+ # `long_value`, a value between Long.MIN and Long.MAX is allowed.
804
804
  # Corresponds to the JSON property `longValue`
805
805
  # @return [Fixnum]
806
806
  attr_accessor :long_value
@@ -29,10 +29,10 @@ module Google
29
29
  # require 'google/apis/jobs_v2'
30
30
  #
31
31
  # Jobs = Google::Apis::JobsV2 # Alias the module
32
- # service = Jobs::JobServiceService.new
32
+ # service = Jobs::CloudTalentSolutionService.new
33
33
  #
34
34
  # @see https://cloud.google.com/talent-solution/job-search/docs/
35
- class JobServiceService < Google::Apis::Core::BaseService
35
+ class CloudTalentSolutionService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
38
38
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/talent-solution/job-search/docs/
27
27
  module JobsV3p1beta1
28
28
  VERSION = 'V3p1beta1'
29
- REVISION = '20190107'
29
+ REVISION = '20190110'
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'
@@ -2705,6 +2705,19 @@ module Google
2705
2705
  # factor assigned by
2706
2706
  # SearchJobsRequest.custom_ranking_info.importance_level in descending
2707
2707
  # order.
2708
+ # * "location`_`distance": By the distance between the location on jobs and
2709
+ # locations specified in the
2710
+ # SearchJobsRequest.job_query.location_filters.
2711
+ # When this order is selected, the
2712
+ # SearchJobsRequest.job_query.location_filters must not be empty. When
2713
+ # a job has multiple locations, the location closest to one of the locations
2714
+ # specified in the location filter will be used to calculate location
2715
+ # distance. Distance is calculated by the distance between two lat/long
2716
+ # coordinates, with a precision of 10e-4 degrees (11.3 meters).
2717
+ # Jobs that don't have locations specified will be ranked below jobs having
2718
+ # locations.
2719
+ # Diversification strategy is still applied unless explicitly disabled in
2720
+ # SearchJobsRequest.diversification_level.
2708
2721
  # Corresponds to the JSON property `orderBy`
2709
2722
  # @return [String]
2710
2723
  attr_accessor :order_by
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2
27
27
  VERSION = 'V2'
28
- REVISION = '20181215'
28
+ REVISION = '20190115'
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'
@@ -625,8 +625,8 @@ module Google
625
625
  # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
626
626
  # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
627
627
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
628
- # A project number may optionally be used in place of PROJECT_ID. The project
629
- # number is translated to its corresponding PROJECT_ID internally and the
628
+ # A project number may optionally be used in place of PROJECT_ID. The project
629
+ # number is translated to its corresponding PROJECT_ID internally and the
630
630
  # log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be
631
631
  # URL-encoded within log_name. Example: "organizations/1234567890/logs/
632
632
  # cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than
@@ -694,10 +694,10 @@ module Google
694
694
  # @return [Google::Apis::LoggingV2::LogEntrySourceLocation]
695
695
  attr_accessor :source_location
696
696
 
697
- # Optional. The span ID within the trace associated with the log entry. For
698
- # Trace spans, this is the same format that the Trace API v2 uses: a 16-
699
- # character hexadecimal encoding of an 8-byte array, such as <code>"
700
- # 000000000000004a"</code>.
697
+ # Optional. The span ID within the trace associated with the log entry.For Trace
698
+ # spans, this is the same format that the Trace API v2 uses: a 16-character
699
+ # hexadecimal encoding of an 8-byte array, such as <code>"000000000000004a"</
700
+ # code>.
701
701
  # Corresponds to the JSON property `spanId`
702
702
  # @return [String]
703
703
  attr_accessor :span_id
@@ -854,13 +854,19 @@ module Google
854
854
  class LogExclusion
855
855
  include Google::Apis::Core::Hashable
856
856
 
857
+ # Output only. The creation timestamp of the exclusion.This field may not be
858
+ # present for older exclusions.
859
+ # Corresponds to the JSON property `createTime`
860
+ # @return [String]
861
+ attr_accessor :create_time
862
+
857
863
  # Optional. A description of this exclusion.
858
864
  # Corresponds to the JSON property `description`
859
865
  # @return [String]
860
866
  attr_accessor :description
861
867
 
862
868
  # Optional. If set to True, then this exclusion is disabled and it does not
863
- # exclude any log entries. You can use exclusions.patch to change the value of
869
+ # exclude any log entries. You can update an exclusion to change the value of
864
870
  # this field.
865
871
  # Corresponds to the JSON property `disabled`
866
872
  # @return [Boolean]
@@ -883,16 +889,24 @@ module Google
883
889
  # @return [String]
884
890
  attr_accessor :name
885
891
 
892
+ # Output only. The last update timestamp of the exclusion.This field may not be
893
+ # present for older exclusions.
894
+ # Corresponds to the JSON property `updateTime`
895
+ # @return [String]
896
+ attr_accessor :update_time
897
+
886
898
  def initialize(**args)
887
899
  update!(**args)
888
900
  end
889
901
 
890
902
  # Update properties of this object
891
903
  def update!(**args)
904
+ @create_time = args[:create_time] if args.key?(:create_time)
892
905
  @description = args[:description] if args.key?(:description)
893
906
  @disabled = args[:disabled] if args.key?(:disabled)
894
907
  @filter = args[:filter] if args.key?(:filter)
895
908
  @name = args[:name] if args.key?(:name)
909
+ @update_time = args[:update_time] if args.key?(:update_time)
896
910
  end
897
911
  end
898
912
 
@@ -959,6 +973,12 @@ module Google
959
973
  # @return [Google::Apis::LoggingV2::BucketOptions]
960
974
  attr_accessor :bucket_options
961
975
 
976
+ # Output only. The creation timestamp of the metric.This field may not be
977
+ # present for older metrics.
978
+ # Corresponds to the JSON property `createTime`
979
+ # @return [String]
980
+ attr_accessor :create_time
981
+
962
982
  # Optional. A description of this metric, which is used in documentation. The
963
983
  # maximum length of the description is 8000 characters.
964
984
  # Corresponds to the JSON property `description`
@@ -1006,6 +1026,12 @@ module Google
1006
1026
  # @return [String]
1007
1027
  attr_accessor :name
1008
1028
 
1029
+ # Output only. The last update timestamp of the metric.This field may not be
1030
+ # present for older metrics.
1031
+ # Corresponds to the JSON property `updateTime`
1032
+ # @return [String]
1033
+ attr_accessor :update_time
1034
+
1009
1035
  # Optional. A value_extractor is required when using a distribution logs-based
1010
1036
  # metric to extract the values to record from a log entry. Two functions are
1011
1037
  # supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex).
@@ -1036,11 +1062,13 @@ module Google
1036
1062
  # Update properties of this object
1037
1063
  def update!(**args)
1038
1064
  @bucket_options = args[:bucket_options] if args.key?(:bucket_options)
1065
+ @create_time = args[:create_time] if args.key?(:create_time)
1039
1066
  @description = args[:description] if args.key?(:description)
1040
1067
  @filter = args[:filter] if args.key?(:filter)
1041
1068
  @label_extractors = args[:label_extractors] if args.key?(:label_extractors)
1042
1069
  @metric_descriptor = args[:metric_descriptor] if args.key?(:metric_descriptor)
1043
1070
  @name = args[:name] if args.key?(:name)
1071
+ @update_time = args[:update_time] if args.key?(:update_time)
1044
1072
  @value_extractor = args[:value_extractor] if args.key?(:value_extractor)
1045
1073
  @version = args[:version] if args.key?(:version)
1046
1074
  end
@@ -1054,13 +1082,19 @@ module Google
1054
1082
  class LogSink
1055
1083
  include Google::Apis::Core::Hashable
1056
1084
 
1085
+ # Output only. The creation timestamp of the sink.This field may not be present
1086
+ # for older sinks.
1087
+ # Corresponds to the JSON property `createTime`
1088
+ # @return [String]
1089
+ attr_accessor :create_time
1090
+
1057
1091
  # Required. The export destination:
1058
1092
  # "storage.googleapis.com/[GCS_BUCKET]"
1059
1093
  # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
1060
1094
  # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
1061
1095
  # The sink's writer_identity, set when the sink is created, must have permission
1062
1096
  # to write to the destination or else the log entries are not exported. For more
1063
- # information, see Exporting Logs With Sinks.
1097
+ # information, see Exporting Logs with Sinks.
1064
1098
  # Corresponds to the JSON property `destination`
1065
1099
  # @return [String]
1066
1100
  attr_accessor :destination
@@ -1104,12 +1138,18 @@ module Google
1104
1138
  # @return [String]
1105
1139
  attr_accessor :output_version_format
1106
1140
 
1141
+ # Output only. The last update timestamp of the sink.This field may not be
1142
+ # present for older sinks.
1143
+ # Corresponds to the JSON property `updateTime`
1144
+ # @return [String]
1145
+ attr_accessor :update_time
1146
+
1107
1147
  # Output only. An IAM identity&mdash;a service account or group&mdash;under
1108
1148
  # which Logging writes the exported log entries to the sink's destination. This
1109
- # field is set by sinks.create and sinks.update, based on the setting of
1149
+ # field is set by sinks.create and sinks.update based on the value of
1110
1150
  # unique_writer_identity in those methods.Until you grant this identity write-
1111
1151
  # access to the destination, log entry exports from this sink will fail. For
1112
- # more information, see Granting access for a resource. Consult the destination
1152
+ # more information, see Granting Access for a Resource. Consult the destination
1113
1153
  # service's documentation to determine the appropriate IAM roles to assign to
1114
1154
  # the identity.
1115
1155
  # Corresponds to the JSON property `writerIdentity`
@@ -1122,11 +1162,13 @@ module Google
1122
1162
 
1123
1163
  # Update properties of this object
1124
1164
  def update!(**args)
1165
+ @create_time = args[:create_time] if args.key?(:create_time)
1125
1166
  @destination = args[:destination] if args.key?(:destination)
1126
1167
  @filter = args[:filter] if args.key?(:filter)
1127
1168
  @include_children = args[:include_children] if args.key?(:include_children)
1128
1169
  @name = args[:name] if args.key?(:name)
1129
1170
  @output_version_format = args[:output_version_format] if args.key?(:output_version_format)
1171
+ @update_time = args[:update_time] if args.key?(:update_time)
1130
1172
  @writer_identity = args[:writer_identity] if args.key?(:writer_identity)
1131
1173
  end
1132
1174
  end
@@ -396,10 +396,12 @@ module Google
396
396
  class LogExclusion
397
397
  # @private
398
398
  class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :create_time, as: 'createTime'
399
400
  property :description, as: 'description'
400
401
  property :disabled, as: 'disabled'
401
402
  property :filter, as: 'filter'
402
403
  property :name, as: 'name'
404
+ property :update_time, as: 'updateTime'
403
405
  end
404
406
  end
405
407
 
@@ -419,12 +421,14 @@ module Google
419
421
  class Representation < Google::Apis::Core::JsonRepresentation
420
422
  property :bucket_options, as: 'bucketOptions', class: Google::Apis::LoggingV2::BucketOptions, decorator: Google::Apis::LoggingV2::BucketOptions::Representation
421
423
 
424
+ property :create_time, as: 'createTime'
422
425
  property :description, as: 'description'
423
426
  property :filter, as: 'filter'
424
427
  hash :label_extractors, as: 'labelExtractors'
425
428
  property :metric_descriptor, as: 'metricDescriptor', class: Google::Apis::LoggingV2::MetricDescriptor, decorator: Google::Apis::LoggingV2::MetricDescriptor::Representation
426
429
 
427
430
  property :name, as: 'name'
431
+ property :update_time, as: 'updateTime'
428
432
  property :value_extractor, as: 'valueExtractor'
429
433
  property :version, as: 'version'
430
434
  end
@@ -433,11 +437,13 @@ module Google
433
437
  class LogSink
434
438
  # @private
435
439
  class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :create_time, as: 'createTime'
436
441
  property :destination, as: 'destination'
437
442
  property :filter, as: 'filter'
438
443
  property :include_children, as: 'includeChildren'
439
444
  property :name, as: 'name'
440
445
  property :output_version_format, as: 'outputVersionFormat'
446
+ property :update_time, as: 'updateTime'
441
447
  property :writer_identity, as: 'writerIdentity'
442
448
  end
443
449
  end
@@ -503,7 +503,7 @@ module Google
503
503
  end
504
504
 
505
505
  # Updates a sink. This method replaces the following fields in the existing sink
506
- # with values from the new sink: destination, and filter. The updated sink might
506
+ # with values from the new sink: destination, and filter.The updated sink might
507
507
  # also have a new writer_identity; see the unique_writer_identity field.
508
508
  # @param [String] sink_name
509
509
  # Required. The full resource name of the sink to update, including the parent
@@ -565,7 +565,7 @@ module Google
565
565
  end
566
566
 
567
567
  # Updates a sink. This method replaces the following fields in the existing sink
568
- # with values from the new sink: destination, and filter. The updated sink might
568
+ # with values from the new sink: destination, and filter.The updated sink might
569
569
  # also have a new writer_identity; see the unique_writer_identity field.
570
570
  # @param [String] sink_name
571
571
  # Required. The full resource name of the sink to update, including the parent
@@ -1349,7 +1349,7 @@ module Google
1349
1349
  end
1350
1350
 
1351
1351
  # Updates a sink. This method replaces the following fields in the existing sink
1352
- # with values from the new sink: destination, and filter. The updated sink might
1352
+ # with values from the new sink: destination, and filter.The updated sink might
1353
1353
  # also have a new writer_identity; see the unique_writer_identity field.
1354
1354
  # @param [String] sink_name
1355
1355
  # Required. The full resource name of the sink to update, including the parent
@@ -1411,7 +1411,7 @@ module Google
1411
1411
  end
1412
1412
 
1413
1413
  # Updates a sink. This method replaces the following fields in the existing sink
1414
- # with values from the new sink: destination, and filter. The updated sink might
1414
+ # with values from the new sink: destination, and filter.The updated sink might
1415
1415
  # also have a new writer_identity; see the unique_writer_identity field.
1416
1416
  # @param [String] sink_name
1417
1417
  # Required. The full resource name of the sink to update, including the parent
@@ -2051,7 +2051,7 @@ module Google
2051
2051
  end
2052
2052
 
2053
2053
  # Updates a sink. This method replaces the following fields in the existing sink
2054
- # with values from the new sink: destination, and filter. The updated sink might
2054
+ # with values from the new sink: destination, and filter.The updated sink might
2055
2055
  # also have a new writer_identity; see the unique_writer_identity field.
2056
2056
  # @param [String] sink_name
2057
2057
  # Required. The full resource name of the sink to update, including the parent
@@ -2113,7 +2113,7 @@ module Google
2113
2113
  end
2114
2114
 
2115
2115
  # Updates a sink. This method replaces the following fields in the existing sink
2116
- # with values from the new sink: destination, and filter. The updated sink might
2116
+ # with values from the new sink: destination, and filter.The updated sink might
2117
2117
  # also have a new writer_identity; see the unique_writer_identity field.
2118
2118
  # @param [String] sink_name
2119
2119
  # Required. The full resource name of the sink to update, including the parent
@@ -2806,7 +2806,7 @@ module Google
2806
2806
  end
2807
2807
 
2808
2808
  # Updates a sink. This method replaces the following fields in the existing sink
2809
- # with values from the new sink: destination, and filter. The updated sink might
2809
+ # with values from the new sink: destination, and filter.The updated sink might
2810
2810
  # also have a new writer_identity; see the unique_writer_identity field.
2811
2811
  # @param [String] sink_name
2812
2812
  # Required. The full resource name of the sink to update, including the parent
@@ -2868,7 +2868,7 @@ module Google
2868
2868
  end
2869
2869
 
2870
2870
  # Updates a sink. This method replaces the following fields in the existing sink
2871
- # with values from the new sink: destination, and filter. The updated sink might
2871
+ # with values from the new sink: destination, and filter.The updated sink might
2872
2872
  # also have a new writer_identity; see the unique_writer_identity field.
2873
2873
  # @param [String] sink_name
2874
2874
  # Required. The full resource name of the sink to update, including the parent
@@ -3099,7 +3099,7 @@ module Google
3099
3099
  end
3100
3100
 
3101
3101
  # Updates a sink. This method replaces the following fields in the existing sink
3102
- # with values from the new sink: destination, and filter. The updated sink might
3102
+ # with values from the new sink: destination, and filter.The updated sink might
3103
3103
  # also have a new writer_identity; see the unique_writer_identity field.
3104
3104
  # @param [String] sink_name
3105
3105
  # Required. The full resource name of the sink to update, including the parent
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2beta1
27
27
  VERSION = 'V2beta1'
28
- REVISION = '20181215'
28
+ REVISION = '20190115'
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'
@@ -570,8 +570,8 @@ module Google
570
570
  # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
571
571
  # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
572
572
  # "folders/[FOLDER_ID]/logs/[LOG_ID]"
573
- # A project number may optionally be used in place of PROJECT_ID. The project
574
- # number is translated to its corresponding PROJECT_ID internally and the
573
+ # A project number may optionally be used in place of PROJECT_ID. The project
574
+ # number is translated to its corresponding PROJECT_ID internally and the
575
575
  # log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be
576
576
  # URL-encoded within log_name. Example: "organizations/1234567890/logs/
577
577
  # cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than
@@ -639,10 +639,10 @@ module Google
639
639
  # @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
640
640
  attr_accessor :source_location
641
641
 
642
- # Optional. The span ID within the trace associated with the log entry. For
643
- # Trace spans, this is the same format that the Trace API v2 uses: a 16-
644
- # character hexadecimal encoding of an 8-byte array, such as <code>"
645
- # 000000000000004a"</code>.
642
+ # Optional. The span ID within the trace associated with the log entry.For Trace
643
+ # spans, this is the same format that the Trace API v2 uses: a 16-character
644
+ # hexadecimal encoding of an 8-byte array, such as <code>"000000000000004a"</
645
+ # code>.
646
646
  # Corresponds to the JSON property `spanId`
647
647
  # @return [String]
648
648
  attr_accessor :span_id
@@ -854,6 +854,12 @@ module Google
854
854
  # @return [Google::Apis::LoggingV2beta1::BucketOptions]
855
855
  attr_accessor :bucket_options
856
856
 
857
+ # Output only. The creation timestamp of the metric.This field may not be
858
+ # present for older metrics.
859
+ # Corresponds to the JSON property `createTime`
860
+ # @return [String]
861
+ attr_accessor :create_time
862
+
857
863
  # Optional. A description of this metric, which is used in documentation. The
858
864
  # maximum length of the description is 8000 characters.
859
865
  # Corresponds to the JSON property `description`
@@ -901,6 +907,12 @@ module Google
901
907
  # @return [String]
902
908
  attr_accessor :name
903
909
 
910
+ # Output only. The last update timestamp of the metric.This field may not be
911
+ # present for older metrics.
912
+ # Corresponds to the JSON property `updateTime`
913
+ # @return [String]
914
+ attr_accessor :update_time
915
+
904
916
  # Optional. A value_extractor is required when using a distribution logs-based
905
917
  # metric to extract the values to record from a log entry. Two functions are
906
918
  # supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex).
@@ -931,11 +943,13 @@ module Google
931
943
  # Update properties of this object
932
944
  def update!(**args)
933
945
  @bucket_options = args[:bucket_options] if args.key?(:bucket_options)
946
+ @create_time = args[:create_time] if args.key?(:create_time)
934
947
  @description = args[:description] if args.key?(:description)
935
948
  @filter = args[:filter] if args.key?(:filter)
936
949
  @label_extractors = args[:label_extractors] if args.key?(:label_extractors)
937
950
  @metric_descriptor = args[:metric_descriptor] if args.key?(:metric_descriptor)
938
951
  @name = args[:name] if args.key?(:name)
952
+ @update_time = args[:update_time] if args.key?(:update_time)
939
953
  @value_extractor = args[:value_extractor] if args.key?(:value_extractor)
940
954
  @version = args[:version] if args.key?(:version)
941
955
  end
@@ -949,13 +963,19 @@ module Google
949
963
  class LogSink
950
964
  include Google::Apis::Core::Hashable
951
965
 
966
+ # Output only. The creation timestamp of the sink.This field may not be present
967
+ # for older sinks.
968
+ # Corresponds to the JSON property `createTime`
969
+ # @return [String]
970
+ attr_accessor :create_time
971
+
952
972
  # Required. The export destination:
953
973
  # "storage.googleapis.com/[GCS_BUCKET]"
954
974
  # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
955
975
  # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
956
976
  # The sink's writer_identity, set when the sink is created, must have permission
957
977
  # to write to the destination or else the log entries are not exported. For more
958
- # information, see Exporting Logs With Sinks.
978
+ # information, see Exporting Logs with Sinks.
959
979
  # Corresponds to the JSON property `destination`
960
980
  # @return [String]
961
981
  attr_accessor :destination
@@ -999,12 +1019,18 @@ module Google
999
1019
  # @return [String]
1000
1020
  attr_accessor :output_version_format
1001
1021
 
1022
+ # Output only. The last update timestamp of the sink.This field may not be
1023
+ # present for older sinks.
1024
+ # Corresponds to the JSON property `updateTime`
1025
+ # @return [String]
1026
+ attr_accessor :update_time
1027
+
1002
1028
  # Output only. An IAM identity&mdash;a service account or group&mdash;under
1003
1029
  # which Logging writes the exported log entries to the sink's destination. This
1004
- # field is set by sinks.create and sinks.update, based on the setting of
1030
+ # field is set by sinks.create and sinks.update based on the value of
1005
1031
  # unique_writer_identity in those methods.Until you grant this identity write-
1006
1032
  # access to the destination, log entry exports from this sink will fail. For
1007
- # more information, see Granting access for a resource. Consult the destination
1033
+ # more information, see Granting Access for a Resource. Consult the destination
1008
1034
  # service's documentation to determine the appropriate IAM roles to assign to
1009
1035
  # the identity.
1010
1036
  # Corresponds to the JSON property `writerIdentity`
@@ -1017,11 +1043,13 @@ module Google
1017
1043
 
1018
1044
  # Update properties of this object
1019
1045
  def update!(**args)
1046
+ @create_time = args[:create_time] if args.key?(:create_time)
1020
1047
  @destination = args[:destination] if args.key?(:destination)
1021
1048
  @filter = args[:filter] if args.key?(:filter)
1022
1049
  @include_children = args[:include_children] if args.key?(:include_children)
1023
1050
  @name = args[:name] if args.key?(:name)
1024
1051
  @output_version_format = args[:output_version_format] if args.key?(:output_version_format)
1052
+ @update_time = args[:update_time] if args.key?(:update_time)
1025
1053
  @writer_identity = args[:writer_identity] if args.key?(:writer_identity)
1026
1054
  end
1027
1055
  end