google-apis-merchantapi_datasources_v1beta 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cee6dd4b6580d01ff26925a57e1008449466b12183d8584b55ddf57c12da48b
4
- data.tar.gz: cd0fc97d4086f1e16d7734b85c426687e77685eae794c3c23ac0466e61294a40
3
+ metadata.gz: febeb7625e0c00845b68b0a43579d19cd817c4182809aace5d0d0cc6e89751a2
4
+ data.tar.gz: c21ccdcec438095ca29a971424a599b11f060744d671a143fcf040726a085b87
5
5
  SHA512:
6
- metadata.gz: a5aef0710c13ff7148a94df6dc416303eb5fedeaa58afc97752b7a6b9c433e68da16596b721f517b60ffe8047546bf2090c52f6dc42400dbeb518c0cd9a856f9
7
- data.tar.gz: 77c71bb526fe1b226ae710ed68a284fee220590593dd0b6fecd18b54dde3281fe4c5b28eeab630b7d0c1579eba63671e9232238eac5e7298a425e1a0dd494ca3
6
+ metadata.gz: 4a952f8a262b649dd929681e3c28638312952b48e6aa26e1855f090ef7006775d2bccfcf09a26d4d7d33c2ea9d668f5a10b30c5dda11925ffa39978c5a6baa81
7
+ data.tar.gz: 6da9b008c0f4a015db857975317d6b68748b5083e75b97d4f470f295892859e4fc045e9b1d7630e14b65a7bb32fa565e747d8c6a2c02ff6ef3769079978daf2a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-merchantapi_datasources_v1beta
2
2
 
3
+ ### v0.4.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250301
6
+
7
+ ### v0.3.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250219
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.2.0 (2024-12-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20241119
@@ -508,7 +508,7 @@ module Google
508
508
  class PrimaryProductDataSource
509
509
  include Google::Apis::Core::Hashable
510
510
 
511
- # Required. Immutable. Specifies the type of data source channel.
511
+ # Optional. Immutable. Specifies the type of data source channel.
512
512
  # Corresponds to the JSON property `channel`
513
513
  # @return [String]
514
514
  attr_accessor :channel
@@ -565,22 +565,31 @@ module Google
565
565
  class ProductChange
566
566
  include Google::Apis::Core::Hashable
567
567
 
568
- # The new value of the changed resource or attribute.
568
+ # The new value of the changed resource or attribute. If empty, it means that
569
+ # the product was deleted. Will have one of these values : (`approved`, `pending`
570
+ # , `disapproved`, ``)
569
571
  # Corresponds to the JSON property `newValue`
570
572
  # @return [String]
571
573
  attr_accessor :new_value
572
574
 
573
- # The old value of the changed resource or attribute.
575
+ # The old value of the changed resource or attribute. If empty, it means that
576
+ # the product was created. Will have one of these values : (`approved`, `pending`
577
+ # , `disapproved`, ``)
574
578
  # Corresponds to the JSON property `oldValue`
575
579
  # @return [String]
576
580
  attr_accessor :old_value
577
581
 
578
- # Countries that have the change (if applicable)
582
+ # Countries that have the change (if applicable). Represented in the ISO 3166
583
+ # format.
579
584
  # Corresponds to the JSON property `regionCode`
580
585
  # @return [String]
581
586
  attr_accessor :region_code
582
587
 
583
- # Reporting contexts that have the change (if applicable)
588
+ # Reporting contexts that have the change (if applicable). Currently this field
589
+ # supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
590
+ # YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
591
+ # ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
592
+ # ReportingContextEnum)
584
593
  # Corresponds to the JSON property `reportingContext`
585
594
  # @return [String]
586
595
  attr_accessor :reporting_context
@@ -633,8 +642,13 @@ module Google
633
642
  # @return [Array<Google::Apis::MerchantapiDatasourcesV1beta::ProductChange>]
634
643
  attr_accessor :changes
635
644
 
636
- # The product expiration time. This field will not bet set if the notification
637
- # is sent for a product deletion event.
645
+ # The time at which the event was generated.
646
+ # Corresponds to the JSON property `eventTime`
647
+ # @return [String]
648
+ attr_accessor :event_time
649
+
650
+ # Optional. The product expiration time. This field will not bet set if the
651
+ # notification is sent for a product deletion event.
638
652
  # Corresponds to the JSON property `expirationTime`
639
653
  # @return [String]
640
654
  attr_accessor :expiration_time
@@ -645,8 +659,7 @@ module Google
645
659
  # @return [String]
646
660
  attr_accessor :managing_account
647
661
 
648
- # The product name. Format: ``product.name=accounts/`account`/products/`product``
649
- # `
662
+ # The product name. Format: `accounts/`account`/products/`product``
650
663
  # Corresponds to the JSON property `resource`
651
664
  # @return [String]
652
665
  attr_accessor :resource
@@ -670,6 +683,7 @@ module Google
670
683
  @account = args[:account] if args.key?(:account)
671
684
  @attribute = args[:attribute] if args.key?(:attribute)
672
685
  @changes = args[:changes] if args.key?(:changes)
686
+ @event_time = args[:event_time] if args.key?(:event_time)
673
687
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
674
688
  @managing_account = args[:managing_account] if args.key?(:managing_account)
675
689
  @resource = args[:resource] if args.key?(:resource)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiDatasourcesV1beta
18
18
  # Version of the google-apis-merchantapi_datasources_v1beta gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241119"
25
+ REVISION = "20250301"
26
26
  end
27
27
  end
28
28
  end
@@ -308,6 +308,7 @@ module Google
308
308
  property :attribute, as: 'attribute'
309
309
  collection :changes, as: 'changes', class: Google::Apis::MerchantapiDatasourcesV1beta::ProductChange, decorator: Google::Apis::MerchantapiDatasourcesV1beta::ProductChange::Representation
310
310
 
311
+ property :event_time, as: 'eventTime'
311
312
  property :expiration_time, as: 'expirationTime'
312
313
  property :managing_account, as: 'managingAccount'
313
314
  property :resource, as: 'resource'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_datasources_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_datasources_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_datasources_v1beta/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_datasources_v1beta/v0.4.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_datasources_v1beta
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Merchant API DatasourcesV1beta
82
79
  test_files: []