google-api-client 0.37.0 → 0.37.1

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.
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
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200214'
28
+ REVISION = '20200215'
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'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200207'
30
+ REVISION = '20200218'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -477,6 +477,20 @@ module Google
477
477
  include Google::Apis::Core::Hashable
478
478
 
479
479
  # The address of the API backend.
480
+ # The scheme is used to determine the backend protocol and security.
481
+ # The following schemes are accepted:
482
+ # SCHEME PROTOCOL SECURITY
483
+ # http:// HTTP None
484
+ # https:// HTTP TLS
485
+ # grpc:// gRPC None
486
+ # grpcs:// gRPC TLS
487
+ # It is recommended to explicitly include a scheme. Leaving out the scheme
488
+ # may cause constrasting behaviors across platforms.
489
+ # If the port is unspecified, the default is:
490
+ # - 80 for schemes without TLS
491
+ # - 443 for schemes with TLS
492
+ # For HTTP backends, use protocol
493
+ # to specify the protocol version.
480
494
  # Corresponds to the JSON property `address`
481
495
  # @return [String]
482
496
  attr_accessor :address
@@ -520,6 +534,27 @@ module Google
520
534
  # @return [String]
521
535
  attr_accessor :path_translation
522
536
 
537
+ # The protocol used for sending a request to the backend.
538
+ # The supported values are "http/1.1" and "h2".
539
+ # The default value is inferred from the scheme in the
540
+ # address field:
541
+ # SCHEME PROTOCOL
542
+ # http:// http/1.1
543
+ # https:// http/1.1
544
+ # grpc:// h2
545
+ # grpcs:// h2
546
+ # For secure HTTP backends (https://) that support HTTP/2, set this field
547
+ # to "h2" for improved performance.
548
+ # Configuring this field to non-default values is only supported for secure
549
+ # HTTP backends. This field will be ignored for all other backends.
550
+ # See
551
+ # https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
552
+ # values.xhtml#alpn-protocol-ids
553
+ # for more details on the supported values.
554
+ # Corresponds to the JSON property `protocol`
555
+ # @return [String]
556
+ attr_accessor :protocol
557
+
523
558
  # Selects the methods to which this rule applies.
524
559
  # Refer to selector for syntax details.
525
560
  # Corresponds to the JSON property `selector`
@@ -539,6 +574,7 @@ module Google
539
574
  @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
540
575
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
541
576
  @path_translation = args[:path_translation] if args.key?(:path_translation)
577
+ @protocol = args[:protocol] if args.key?(:protocol)
542
578
  @selector = args[:selector] if args.key?(:selector)
543
579
  end
544
580
  end
@@ -656,6 +656,7 @@ module Google
656
656
  property :min_deadline, as: 'minDeadline'
657
657
  property :operation_deadline, as: 'operationDeadline'
658
658
  property :path_translation, as: 'pathTranslation'
659
+ property :protocol, as: 'protocol'
659
660
  property :selector, as: 'selector'
660
661
  end
661
662
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200214'
29
+ REVISION = '20200215'
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'
@@ -58,6 +58,14 @@ module Google
58
58
  # @return [Fixnum]
59
59
  attr_accessor :ip_prefix_length
60
60
 
61
+ # Optional. The private IPv6 google access type for the VMs in this subnet.
62
+ # For information about the access types that can be set using this field,
63
+ # see [subnetwork](/compute/docs/reference/rest/v1/subnetworks)
64
+ # in the Compute API documentation.
65
+ # Corresponds to the JSON property `privateIpv6GoogleAccess`
66
+ # @return [String]
67
+ attr_accessor :private_ipv6_google_access
68
+
61
69
  # Required. The name of a [region](/compute/docs/regions-zones)
62
70
  # for the subnet, such `europe-west1`.
63
71
  # Corresponds to the JSON property `region`
@@ -96,6 +104,7 @@ module Google
96
104
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
97
105
  @description = args[:description] if args.key?(:description)
98
106
  @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
107
+ @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
99
108
  @region = args[:region] if args.key?(:region)
100
109
  @requested_address = args[:requested_address] if args.key?(:requested_address)
101
110
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@@ -2879,6 +2888,15 @@ module Google
2879
2888
  # @return [Fixnum]
2880
2889
  attr_accessor :ip_prefix_length
2881
2890
 
2891
+ # Optional. DO NOT USE - Under development.
2892
+ # The size of the desired secondary ranges for the subnet. Use usual CIDR
2893
+ # range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. The
2894
+ # goal is to determine that the allocated ranges have enough free space for
2895
+ # all the requested secondary ranges.
2896
+ # Corresponds to the JSON property `secondaryRangeIpPrefixLengths`
2897
+ # @return [Array<Fixnum>]
2898
+ attr_accessor :secondary_range_ip_prefix_lengths
2899
+
2882
2900
  def initialize(**args)
2883
2901
  update!(**args)
2884
2902
  end
@@ -2886,6 +2904,7 @@ module Google
2886
2904
  # Update properties of this object
2887
2905
  def update!(**args)
2888
2906
  @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
2907
+ @secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths)
2889
2908
  end
2890
2909
  end
2891
2910
 
@@ -437,6 +437,7 @@ module Google
437
437
  property :consumer_network, as: 'consumerNetwork'
438
438
  property :description, as: 'description'
439
439
  property :ip_prefix_length, as: 'ipPrefixLength'
440
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
440
441
  property :region, as: 'region'
441
442
  property :requested_address, as: 'requestedAddress'
442
443
  property :subnetwork, as: 'subnetwork'
@@ -967,6 +968,7 @@ module Google
967
968
  # @private
968
969
  class Representation < Google::Apis::Core::JsonRepresentation
969
970
  property :ip_prefix_length, as: 'ipPrefixLength'
971
+ collection :secondary_range_ip_prefix_lengths, as: 'secondaryRangeIpPrefixLengths'
970
972
  end
971
973
  end
972
974
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20200214'
29
+ REVISION = '20200215'
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'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200214'
30
+ REVISION = '20200215'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20200214'
30
+ REVISION = '20200215'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/sheets/
26
26
  module SheetsV4
27
27
  VERSION = 'V4'
28
- REVISION = '20200131'
28
+ REVISION = '20200211'
29
29
 
30
30
  # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/slides/
26
26
  module SlidesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190826'
28
+ REVISION = '20200214'
29
29
 
30
30
  # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/spanner/
27
27
  module SpannerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200206'
29
+ REVISION = '20200208'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1p1beta1
27
27
  VERSION = 'V1p1beta1'
28
- REVISION = '20200102'
28
+ REVISION = '20200212'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage-transfer/docs
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200210'
29
+ REVISION = '20200215'
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'
@@ -24,7 +24,7 @@ module Google
24
24
 
25
25
  # AWS access key (see
26
26
  # [AWS Security
27
- # Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-
27
+ # Credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-
28
28
  # credentials.html)).
29
29
  class AwsAccessKey
30
30
  include Google::Apis::Core::Hashable
@@ -58,7 +58,7 @@ module Google
58
58
 
59
59
  # AWS access key (see
60
60
  # [AWS Security
61
- # Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-
61
+ # Credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-
62
62
  # credentials.html)).
63
63
  # Corresponds to the JSON property `awsAccessKey`
64
64
  # @return [Google::Apis::StoragetransferV1::AwsAccessKey]
@@ -66,7 +66,7 @@ module Google
66
66
 
67
67
  # Required. S3 Bucket name (see
68
68
  # [Creating a
69
- # bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-
69
+ # bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-
70
70
  # location-example.html)).
71
71
  # Corresponds to the JSON property `bucketName`
72
72
  # @return [String]
@@ -205,8 +205,9 @@ module Google
205
205
  end
206
206
 
207
207
  # In a GcsData resource, an object's name is the Cloud Storage object's
208
- # name and its `lastModificationTime` refers to the object's updated time,
209
- # which changes when the content or the metadata of the object is updated.
208
+ # name and its "last modification time" refers to the object's `updated`
209
+ # property of Cloud Storage objects, which changes when the content or the
210
+ # metadata of the object is updated.
210
211
  class GcsData
211
212
  include Google::Apis::Core::Hashable
212
213
 
@@ -249,15 +250,15 @@ module Google
249
250
  # An HttpData resource specifies a list of objects on the web to be transferred
250
251
  # over HTTP. The information of the objects to be transferred is contained in
251
252
  # a file referenced by a URL. The first line in the file must be
252
- # "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
253
- # specify the information of the list of objects, one object per list entry.
254
- # Each entry has the following tab-delimited fields:
255
- # * HTTP URL - The location of the object.
256
- # * Length - The size of the object in bytes.
257
- # * MD5 - The base64-encoded MD5 hash of the object.
253
+ # `"TsvHttpData-1.0"`, which specifies the format of the file. Subsequent
254
+ # lines specify the information of the list of objects, one object per list
255
+ # entry. Each entry has the following tab-delimited fields:
256
+ # * **HTTP URL** The location of the object.
257
+ # * **Length** The size of the object in bytes.
258
+ # * **MD5** The base64-encoded MD5 hash of the object.
258
259
  # For an example of a valid TSV file, see
259
260
  # [Transferring data from
260
- # URLs](https://cloud.google.com/storage/transfer/create-url-list).
261
+ # URLs](https://cloud.google.com/storage-transfer/docs/create-url-list).
261
262
  # When transferring data based on a URL list, keep the following in mind:
262
263
  # * When an object located at `http(s)://hostname:port/<URL-path>` is
263
264
  # transferred to a data sink, the name of the object at the data sink is
@@ -266,7 +267,8 @@ module Google
266
267
  # object fetched, the object will not be transferred.
267
268
  # * If the specified MD5 does not match the MD5 computed from the transferred
268
269
  # bytes, the object transfer will fail. For more information, see
269
- # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
270
+ # [Generating MD5
271
+ # hashes](https://cloud.google.com/storage-transfer/docs/create-url-list#md5)
270
272
  # * Ensure that each URL you specify is publicly accessible. For
271
273
  # example, in Cloud Storage you can
272
274
  # [share an object publicly]
@@ -275,8 +277,7 @@ module Google
275
277
  # * Storage Transfer Service obeys `robots.txt` rules and requires the source
276
278
  # HTTP server to support `Range` requests and to return a `Content-Length`
277
279
  # header in each response.
278
- # * [ObjectConditions](#ObjectConditions) have no effect when filtering objects
279
- # to transfer.
280
+ # * ObjectConditions have no effect when filtering objects to transfer.
280
281
  class HttpData
281
282
  include Google::Apis::Core::Hashable
282
283
 
@@ -349,26 +350,30 @@ module Google
349
350
 
350
351
  # Conditions that determine which objects will be transferred. Applies only
351
352
  # to S3 and Cloud Storage objects.
353
+ # The "last modification time" refers to the time of the
354
+ # last change to the object's content or metadata — specifically, this is
355
+ # the `updated` property of Cloud Storage objects and the `LastModified`
356
+ # field of S3 objects.
352
357
  class ObjectConditions
353
358
  include Google::Apis::Core::Hashable
354
359
 
355
- # `excludePrefixes` must follow the requirements described for
356
- # `includePrefixes`.
357
- # The max size of `excludePrefixes` is 1000.
360
+ # `exclude_prefixes` must follow the requirements described for
361
+ # include_prefixes.
362
+ # The max size of `exclude_prefixes` is 1000.
358
363
  # Corresponds to the JSON property `excludePrefixes`
359
364
  # @return [Array<String>]
360
365
  attr_accessor :exclude_prefixes
361
366
 
362
- # If `includePrefixes` is specified, objects that satisfy the object
363
- # conditions must have names that start with one of the `includePrefixes`
364
- # and that do not start with any of the `excludePrefixes`. If
365
- # `includePrefixes` is not specified, all objects except those that have
366
- # names starting with one of the `excludePrefixes` must satisfy the object
367
+ # If `include_prefixes` is specified, objects that satisfy the object
368
+ # conditions must have names that start with one of the `include_prefixes`
369
+ # and that do not start with any of the exclude_prefixes. If
370
+ # `include_prefixes` is not specified, all objects except those that have
371
+ # names starting with one of the `exclude_prefixes` must satisfy the object
367
372
  # conditions.
368
373
  # Requirements:
369
374
  # * Each include-prefix and exclude-prefix can contain any sequence of
370
- # Unicode characters, of max length 1024 bytes when UTF8-encoded, and
371
- # must not contain Carriage Return or Line Feed characters. Wildcard
375
+ # Unicode characters, to a max length of 1024 bytes when UTF8-encoded,
376
+ # and must not contain Carriage Return or Line Feed characters. Wildcard
372
377
  # matching and regular expression matching are not supported.
373
378
  # * Each include-prefix and exclude-prefix must omit the leading slash.
374
379
  # For example, to include the `requests.gz` object in a transfer from
@@ -377,40 +382,34 @@ module Google
377
382
  # * None of the include-prefix or the exclude-prefix values can be empty,
378
383
  # if specified.
379
384
  # * Each include-prefix must include a distinct portion of the object
380
- # namespace, i.e., no include-prefix may be a prefix of another
385
+ # namespace. No include-prefix may be a prefix of another
381
386
  # include-prefix.
382
387
  # * Each exclude-prefix must exclude a distinct portion of the object
383
- # namespace, i.e., no exclude-prefix may be a prefix of another
388
+ # namespace. No exclude-prefix may be a prefix of another
384
389
  # exclude-prefix.
385
- # * If `includePrefixes` is specified, then each exclude-prefix must start
386
- # with the value of a path explicitly included by `includePrefixes`.
387
- # The max size of `includePrefixes` is 1000.
390
+ # * If `include_prefixes` is specified, then each exclude-prefix must start
391
+ # with the value of a path explicitly included by `include_prefixes`.
392
+ # The max size of `include_prefixes` is 1000.
388
393
  # Corresponds to the JSON property `includePrefixes`
389
394
  # @return [Array<String>]
390
395
  attr_accessor :include_prefixes
391
396
 
392
- # If specified, only objects with a `lastModificationTime` on or after
393
- # `NOW` - `maxTimeElapsedSinceLastModification` and objects that don't have
394
- # a `lastModificationTime` are transferred.
395
- # Note that, for each `TransferOperation` started by this `TransferJob`,
396
- # `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
397
- # `lastModificationTime` refers to the time of the last change to the
398
- # object's content or metadata - specifically, this would be the `updated`
399
- # property of Cloud Storage objects and the `LastModified` field of S3
400
- # objects.
397
+ # If specified, only objects with a "last modification time" on or after
398
+ # `NOW` - `max_time_elapsed_since_last_modification` and objects that don't
399
+ # have a "last modification time" are transferred.
400
+ # For each TransferOperation started by this TransferJob,
401
+ # `NOW` refers to the start_time of the
402
+ # `TransferOperation`.
401
403
  # Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
402
404
  # @return [String]
403
405
  attr_accessor :max_time_elapsed_since_last_modification
404
406
 
405
- # If specified, only objects with a `lastModificationTime` before
406
- # `NOW` - `minTimeElapsedSinceLastModification` and objects that don't have a
407
- # `lastModificationTime` are transferred.
408
- # Note that, for each `TransferOperation` started by this `TransferJob`,
409
- # `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
410
- # `lastModificationTime` refers to the time of the last change to the
411
- # object's content or metadata - specifically, this would be the `updated`
412
- # property of Cloud Storage objects and the `LastModified` field of S3
413
- # objects.
407
+ # If specified, only objects with a "last modification time" before
408
+ # `NOW` - `min_time_elapsed_since_last_modification` and objects that don't
409
+ # have a "last modification time" are transferred.
410
+ # For each TransferOperation started by this TransferJob, `NOW`
411
+ # refers to the start_time of the
412
+ # `TransferOperation`.
414
413
  # Corresponds to the JSON property `minTimeElapsedSinceLastModification`
415
414
  # @return [String]
416
415
  attr_accessor :min_time_elapsed_since_last_modification
@@ -787,16 +786,16 @@ module Google
787
786
 
788
787
  # A unique name (within the transfer project) assigned when the job is
789
788
  # created.
790
- # If this field is left empty in a CreateTransferJobRequest,
791
- # Storage Transfer Service will assign a unique name. Otherwise, the supplied
792
- # name is used as the unique name for this job.
793
- # This name must start with "transferJobs/" prefix and end with a letter or a
794
- # number, and should be no more than 128 characters.
795
- # Example of a valid format : "transferJobs/[A-Za-z0-9-._~]*[A-Za-z0-9]$"
796
- # **NOTE:**
797
- # If the supplied name is already in use, the creation request results in an
798
- # `ALREADY_EXISTS` error and the transfer job will not be created.
799
- # Invalid job names will return an 'INVALID_ARGUMENT' error and the job will
789
+ # If this field is left empty in a CreateTransferJobRequest, Storage Transfer
790
+ # Service will assign a unique name. Otherwise, the supplied name is used as
791
+ # the unique name for this job.
792
+ # This name must start with `"transferJobs/"` prefix and end with a letter or
793
+ # a number, and should be no more than 128 characters.
794
+ # Example of a valid format : `"transferJobs/[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
795
+ # **Note:** If the supplied name is already in use, the creation request
796
+ # results in an ALREADY_EXISTS error and
797
+ # the transfer job will not be created. Invalid job names will return an
798
+ # INVALID_ARGUMENT error and the job will
800
799
  # not be created.
801
800
  # Corresponds to the JSON property `name`
802
801
  # @return [String]
@@ -814,10 +813,11 @@ module Google
814
813
 
815
814
  # Status of the job. This value MUST be specified for
816
815
  # `CreateTransferJobRequests`.
817
- # NOTE: The effect of the new job status takes place during a subsequent job
818
- # run. For example, if you change the job status from `ENABLED` to
819
- # `DISABLED`, and an operation spawned by the transfer is running, the status
820
- # change would not affect the current operation.
816
+ # **Note:** The effect of the new job status takes place during a subsequent
817
+ # job run. For example, if you change the job status from
818
+ # ENABLED to DISABLED, and an operation
819
+ # spawned by the transfer is running, the status change would not affect the
820
+ # current operation.
821
821
  # Corresponds to the JSON property `status`
822
822
  # @return [String]
823
823
  attr_accessor :status
@@ -918,16 +918,17 @@ module Google
918
918
  include Google::Apis::Core::Hashable
919
919
 
920
920
  # Whether objects should be deleted from the source after they are
921
- # transferred to the sink. Note that this option and
922
- # `deleteObjectsUniqueInSink` are mutually exclusive.
921
+ # transferred to the sink.
922
+ # **Note:** This option and delete_objects_unique_in_sink are mutually
923
+ # exclusive.
923
924
  # Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
924
925
  # @return [Boolean]
925
926
  attr_accessor :delete_objects_from_source_after_transfer
926
927
  alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
927
928
 
928
- # Whether objects that exist only in the sink should be deleted. Note that
929
- # this option and `deleteObjectsFromSourceAfterTransfer` are mutually
930
- # exclusive.
929
+ # Whether objects that exist only in the sink should be deleted.
930
+ # **Note:** This option and delete_objects_from_source_after_transfer are
931
+ # mutually exclusive.
931
932
  # Corresponds to the JSON property `deleteObjectsUniqueInSink`
932
933
  # @return [Boolean]
933
934
  attr_accessor :delete_objects_unique_in_sink
@@ -962,15 +963,17 @@ module Google
962
963
  attr_accessor :aws_s3_data_source
963
964
 
964
965
  # In a GcsData resource, an object's name is the Cloud Storage object's
965
- # name and its `lastModificationTime` refers to the object's updated time,
966
- # which changes when the content or the metadata of the object is updated.
966
+ # name and its "last modification time" refers to the object's `updated`
967
+ # property of Cloud Storage objects, which changes when the content or the
968
+ # metadata of the object is updated.
967
969
  # Corresponds to the JSON property `gcsDataSink`
968
970
  # @return [Google::Apis::StoragetransferV1::GcsData]
969
971
  attr_accessor :gcs_data_sink
970
972
 
971
973
  # In a GcsData resource, an object's name is the Cloud Storage object's
972
- # name and its `lastModificationTime` refers to the object's updated time,
973
- # which changes when the content or the metadata of the object is updated.
974
+ # name and its "last modification time" refers to the object's `updated`
975
+ # property of Cloud Storage objects, which changes when the content or the
976
+ # metadata of the object is updated.
974
977
  # Corresponds to the JSON property `gcsDataSource`
975
978
  # @return [Google::Apis::StoragetransferV1::GcsData]
976
979
  attr_accessor :gcs_data_source
@@ -978,15 +981,15 @@ module Google
978
981
  # An HttpData resource specifies a list of objects on the web to be transferred
979
982
  # over HTTP. The information of the objects to be transferred is contained in
980
983
  # a file referenced by a URL. The first line in the file must be
981
- # "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
982
- # specify the information of the list of objects, one object per list entry.
983
- # Each entry has the following tab-delimited fields:
984
- # * HTTP URL - The location of the object.
985
- # * Length - The size of the object in bytes.
986
- # * MD5 - The base64-encoded MD5 hash of the object.
984
+ # `"TsvHttpData-1.0"`, which specifies the format of the file. Subsequent
985
+ # lines specify the information of the list of objects, one object per list
986
+ # entry. Each entry has the following tab-delimited fields:
987
+ # * **HTTP URL** The location of the object.
988
+ # * **Length** The size of the object in bytes.
989
+ # * **MD5** The base64-encoded MD5 hash of the object.
987
990
  # For an example of a valid TSV file, see
988
991
  # [Transferring data from
989
- # URLs](https://cloud.google.com/storage/transfer/create-url-list).
992
+ # URLs](https://cloud.google.com/storage-transfer/docs/create-url-list).
990
993
  # When transferring data based on a URL list, keep the following in mind:
991
994
  # * When an object located at `http(s)://hostname:port/<URL-path>` is
992
995
  # transferred to a data sink, the name of the object at the data sink is
@@ -995,7 +998,8 @@ module Google
995
998
  # object fetched, the object will not be transferred.
996
999
  # * If the specified MD5 does not match the MD5 computed from the transferred
997
1000
  # bytes, the object transfer will fail. For more information, see
998
- # [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
1001
+ # [Generating MD5
1002
+ # hashes](https://cloud.google.com/storage-transfer/docs/create-url-list#md5)
999
1003
  # * Ensure that each URL you specify is publicly accessible. For
1000
1004
  # example, in Cloud Storage you can
1001
1005
  # [share an object publicly]
@@ -1004,14 +1008,17 @@ module Google
1004
1008
  # * Storage Transfer Service obeys `robots.txt` rules and requires the source
1005
1009
  # HTTP server to support `Range` requests and to return a `Content-Length`
1006
1010
  # header in each response.
1007
- # * [ObjectConditions](#ObjectConditions) have no effect when filtering objects
1008
- # to transfer.
1011
+ # * ObjectConditions have no effect when filtering objects to transfer.
1009
1012
  # Corresponds to the JSON property `httpDataSource`
1010
1013
  # @return [Google::Apis::StoragetransferV1::HttpData]
1011
1014
  attr_accessor :http_data_source
1012
1015
 
1013
1016
  # Conditions that determine which objects will be transferred. Applies only
1014
1017
  # to S3 and Cloud Storage objects.
1018
+ # The "last modification time" refers to the time of the
1019
+ # last change to the object's content or metadata — specifically, this is
1020
+ # the `updated` property of Cloud Storage objects and the `LastModified`
1021
+ # field of S3 objects.
1015
1022
  # Corresponds to the JSON property `objectConditions`
1016
1023
  # @return [Google::Apis::StoragetransferV1::ObjectConditions]
1017
1024
  attr_accessor :object_conditions
@@ -1055,10 +1062,12 @@ module Google
1055
1062
 
1056
1063
  # The field mask of the fields in `transferJob` that are to be updated in
1057
1064
  # this request. Fields in `transferJob` that can be updated are:
1058
- # `description`, `transferSpec`, and `status`. To update the `transferSpec`
1059
- # of the job, a complete transfer specification has to be provided. An
1060
- # incomplete specification which misses any required fields will be rejected
1061
- # with the error `INVALID_ARGUMENT`.
1065
+ # description,
1066
+ # transfer_spec, and
1067
+ # status. To update the `transfer_spec` of the job, a
1068
+ # complete transfer specification must be provided. An incomplete
1069
+ # specification missing any required fields will be rejected with the error
1070
+ # INVALID_ARGUMENT.
1062
1071
  # Corresponds to the JSON property `updateTransferJobFieldMask`
1063
1072
  # @return [String]
1064
1073
  attr_accessor :update_transfer_job_field_mask