Skip to content

Commit 97763d6

Browse files
Google APIscopybara-github
authored andcommitted
fix!: An existing field contains_custom_rules is removed from message .google.shopping.merchant.datasources.v1.PrimaryProductDataSource
docs: update documentation for datasources PiperOrigin-RevId: 826368950
1 parent b6bb607 commit 97763d6

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

google/shopping/merchant/datasources/v1/datasourcetypes.proto

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ message PrimaryProductDataSource {
131131
// data sources will be replaced.
132132
DefaultRule default_rule = 7 [(google.api.field_behavior) = OPTIONAL];
133133

134-
// Output only. The existing data source setup contains at least one custom
135-
// (non-default) rule and therefore its management through the
136-
// `default_rule_data_sources` field should be treated with caution.
137-
bool contains_custom_rules = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
138-
139134
// Optional. A list of destinations describing where products of the data
140135
// source can be shown.
141136
//

google/shopping/merchant/datasources/v1/fileinputs.proto

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,11 @@ message FileInput {
3434
// Fetch details to deliver the data source.
3535
message FetchSettings {
3636
// The required fields vary based on the frequency of fetching. For a
37-
// monthly
38-
// fetch schedule,
39-
// `day of
40-
// month`
41-
// and
42-
// [hour of
43-
// day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
44-
// are required. For a weekly fetch schedule,
45-
// [day of
46-
// week][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#dayofweek]
47-
// and [hour of
48-
// day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
49-
// are required. For a daily fetch schedule, only an [hour of
50-
// day][https://developers.google.com/merchant/api/reference/rest/datasources_v1beta/accounts.dataSources#timeofday]
51-
// is required.
37+
// monthly fetch schedule, `day of month` and [hour of
38+
// day](../Shared.Types/TimeOfDay) are required. For a weekly fetch
39+
// schedule, [day of week](../Shared.Types/DayOfWeek) and [hour of
40+
// day](../Shared.Types/TimeOfDay) are required. For a daily fetch schedule,
41+
// only an [hour of day](../Shared.Types/TimeOfDay) is required.
5242
enum Frequency {
5343
// Frequency unspecified.
5444
FREQUENCY_UNSPECIFIED = 0;

0 commit comments

Comments
 (0)