From 99b422b4e069685525d9b3bec66d9d7ba34c1c77 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 10 Jan 2020 00:37:35 +0000 Subject: [PATCH] Autogenerated update (2020-01-10) Update: - alertcenter_v1beta1 - cloudsearch_v1 - docs_v1 - monitoring_v1 - monitoring_v3 - recommender_v1beta1 - servicemanagement_v1 - tagmanager_v2 --- generated/google/apis/alertcenter_v1beta1.rb | 2 +- .../apis/alertcenter_v1beta1/classes.rb | 31 ++++ .../alertcenter_v1beta1/representations.rb | 16 ++ generated/google/apis/cloudsearch_v1.rb | 2 +- .../google/apis/cloudsearch_v1/classes.rb | 8 + .../apis/cloudsearch_v1/representations.rb | 1 + generated/google/apis/docs_v1.rb | 2 +- generated/google/apis/docs_v1/classes.rb | 97 ++++++++-- .../google/apis/docs_v1/representations.rb | 33 ++++ generated/google/apis/monitoring_v1.rb | 2 +- .../google/apis/monitoring_v1/service.rb | 14 +- generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 37 ++++ .../google/apis/monitoring_v3/service.rb | 2 +- generated/google/apis/recommender_v1beta1.rb | 2 +- .../apis/recommender_v1beta1/classes.rb | 9 +- .../apis/recommender_v1beta1/service.rb | 24 +-- generated/google/apis/servicemanagement_v1.rb | 2 +- .../apis/servicemanagement_v1/classes.rb | 42 +++++ generated/google/apis/tagmanager_v2.rb | 2 +- .../google/apis/tagmanager_v2/classes.rb | 170 ++++++++++++++++++ .../apis/tagmanager_v2/representations.rb | 49 +++++ 22 files changed, 500 insertions(+), 49 deletions(-) diff --git a/generated/google/apis/alertcenter_v1beta1.rb b/generated/google/apis/alertcenter_v1beta1.rb index 24d7e5252..d57765b9f 100644 --- a/generated/google/apis/alertcenter_v1beta1.rb +++ b/generated/google/apis/alertcenter_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/admin-sdk/alertcenter/ module AlertcenterV1beta1 VERSION = 'V1beta1' - REVISION = '20190910' + REVISION = '20200104' # See and delete your domain's G Suite alerts, and send alert feedback AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts' diff --git a/generated/google/apis/alertcenter_v1beta1/classes.rb b/generated/google/apis/alertcenter_v1beta1/classes.rb index a38eaabef..5a8969f7b 100644 --- a/generated/google/apis/alertcenter_v1beta1/classes.rb +++ b/generated/google/apis/alertcenter_v1beta1/classes.rb @@ -1008,6 +1008,11 @@ module Google # @return [String] attr_accessor :display_name + # A user. + # Corresponds to the JSON property `entity` + # @return [Google::Apis::AlertcenterV1beta1::User] + attr_accessor :entity + # The sender email address. # Corresponds to the JSON property `fromHeader` # @return [String] @@ -1020,6 +1025,7 @@ module Google # Update properties of this object def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) + @entity = args[:entity] if args.key?(:entity) @from_header = args[:from_header] if args.key?(:from_header) end end @@ -1311,6 +1317,31 @@ module Google @customer_id = args[:customer_id] if args.key?(:customer_id) end end + + # A user. + class User + include Google::Apis::Core::Hashable + + # Display name of the user. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Email address of the user. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @email_address = args[:email_address] if args.key?(:email_address) + end + end end end end diff --git a/generated/google/apis/alertcenter_v1beta1/representations.rb b/generated/google/apis/alertcenter_v1beta1/representations.rb index 500f6f908..5f66676f8 100644 --- a/generated/google/apis/alertcenter_v1beta1/representations.rb +++ b/generated/google/apis/alertcenter_v1beta1/representations.rb @@ -238,6 +238,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class User + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AccountWarning # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -507,6 +513,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' + property :entity, as: 'entity', class: Google::Apis::AlertcenterV1beta1::User, decorator: Google::Apis::AlertcenterV1beta1::User::Representation + property :from_header, as: 'fromHeader' end end @@ -595,6 +603,14 @@ module Google property :customer_id, as: 'customerId' end end + + class User + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :email_address, as: 'emailAddress' + end + end end end end diff --git a/generated/google/apis/cloudsearch_v1.rb b/generated/google/apis/cloudsearch_v1.rb index 7bd771915..23a352ddb 100644 --- a/generated/google/apis/cloudsearch_v1.rb +++ b/generated/google/apis/cloudsearch_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-search/docs/guides/ module CloudsearchV1 VERSION = 'V1' - REVISION = '20191202' + REVISION = '20200107' # Index and serve your organization's data with Cloud Search AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search' diff --git a/generated/google/apis/cloudsearch_v1/classes.rb b/generated/google/apis/cloudsearch_v1/classes.rb index 8095c4a65..c4abb3ea3 100644 --- a/generated/google/apis/cloudsearch_v1/classes.rb +++ b/generated/google/apis/cloudsearch_v1/classes.rb @@ -284,6 +284,7 @@ module Google # specific item, as users need to have ACL permissions on the contained # items. This ensures a high level access on the entire datasource, and # that the individual items are not shared outside this visibility. + # This should not be set if anonymous search is enabled for the data source. # Corresponds to the JSON property `itemsVisibility` # @return [Array] attr_accessor :items_visibility @@ -3387,6 +3388,12 @@ module Google # @return [String] attr_accessor :less_than_operator_name + # Name of the object corresponding to the operator. This field is only filled + # for schema-specific operators, and is unset for common operators. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + # The name of the operator. # Corresponds to the JSON property `operatorName` # @return [String] @@ -3412,6 +3419,7 @@ module Google @is_sortable = args[:is_sortable] if args.key?(:is_sortable) @is_suggestable = args[:is_suggestable] if args.key?(:is_suggestable) @less_than_operator_name = args[:less_than_operator_name] if args.key?(:less_than_operator_name) + @object_type = args[:object_type] if args.key?(:object_type) @operator_name = args[:operator_name] if args.key?(:operator_name) @type = args[:type] if args.key?(:type) end diff --git a/generated/google/apis/cloudsearch_v1/representations.rb b/generated/google/apis/cloudsearch_v1/representations.rb index 2b2702c65..0f1993208 100644 --- a/generated/google/apis/cloudsearch_v1/representations.rb +++ b/generated/google/apis/cloudsearch_v1/representations.rb @@ -1875,6 +1875,7 @@ module Google property :is_sortable, as: 'isSortable' property :is_suggestable, as: 'isSuggestable' property :less_than_operator_name, as: 'lessThanOperatorName' + property :object_type, as: 'objectType' property :operator_name, as: 'operatorName' property :type, as: 'type' end diff --git a/generated/google/apis/docs_v1.rb b/generated/google/apis/docs_v1.rb index 8a4c70f2f..f854a12ca 100644 --- a/generated/google/apis/docs_v1.rb +++ b/generated/google/apis/docs_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/docs/ module DocsV1 VERSION = 'V1' - REVISION = '20191216' + REVISION = '20200107' # View and manage your Google Docs documents AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' diff --git a/generated/google/apis/docs_v1/classes.rb b/generated/google/apis/docs_v1/classes.rb index 1eae73b6f..18c63fda8 100644 --- a/generated/google/apis/docs_v1/classes.rb +++ b/generated/google/apis/docs_v1/classes.rb @@ -364,10 +364,10 @@ module Google end end - # Creates a Footer. The new footer will be - # applied to the DocumentStyle. - # If a footer of the specified type already exists then a 400 bad request error - # will be returned. + # Creates a Footer. The new footer is applied to + # the DocumentStyle. + # If a footer of the specified type already exists, a 400 bad request error + # is returned. class CreateFooterRequest include Google::Apis::Core::Hashable @@ -405,10 +405,59 @@ module Google end end - # Creates a Header. The new header will be - # applied to the DocumentStyle. - # If a header of the specified type already exists then a 400 bad request error - # will be returned. + # Creates a Footnote segment + # and inserts a new FootnoteReference + # to it at the given location. + # The new Footnote segment will contain a + # space followed by a newline character. + class CreateFootnoteRequest + include Google::Apis::Core::Hashable + + # Location at the end of a body, header, footer or footnote. The location is + # immediately before the last newline in the document segment. + # Corresponds to the JSON property `endOfSegmentLocation` + # @return [Google::Apis::DocsV1::EndOfSegmentLocation] + attr_accessor :end_of_segment_location + + # A particular location in the document. + # Corresponds to the JSON property `location` + # @return [Google::Apis::DocsV1::Location] + attr_accessor :location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location) + @location = args[:location] if args.key?(:location) + end + end + + # The result of creating a footnote. + class CreateFootnoteResponse + include Google::Apis::Core::Hashable + + # The ID of the created footnote. + # Corresponds to the JSON property `footnoteId` + # @return [String] + attr_accessor :footnote_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @footnote_id = args[:footnote_id] if args.key?(:footnote_id) + end + end + + # Creates a Header. The new header is applied to + # the DocumentStyle. + # If a header of the specified type already exists, a 400 bad request error + # is returned. class CreateHeaderRequest include Google::Apis::Core::Hashable @@ -3901,18 +3950,27 @@ module Google class Request include Google::Apis::Core::Hashable - # Creates a Footer. The new footer will be - # applied to the DocumentStyle. - # If a footer of the specified type already exists then a 400 bad request error - # will be returned. + # Creates a Footer. The new footer is applied to + # the DocumentStyle. + # If a footer of the specified type already exists, a 400 bad request error + # is returned. # Corresponds to the JSON property `createFooter` # @return [Google::Apis::DocsV1::CreateFooterRequest] attr_accessor :create_footer - # Creates a Header. The new header will be - # applied to the DocumentStyle. - # If a header of the specified type already exists then a 400 bad request error - # will be returned. + # Creates a Footnote segment + # and inserts a new FootnoteReference + # to it at the given location. + # The new Footnote segment will contain a + # space followed by a newline character. + # Corresponds to the JSON property `createFootnote` + # @return [Google::Apis::DocsV1::CreateFootnoteRequest] + attr_accessor :create_footnote + + # Creates a Header. The new header is applied to + # the DocumentStyle. + # If a header of the specified type already exists, a 400 bad request error + # is returned. # Corresponds to the JSON property `createHeader` # @return [Google::Apis::DocsV1::CreateHeaderRequest] attr_accessor :create_header @@ -4089,6 +4147,7 @@ module Google # Update properties of this object def update!(**args) @create_footer = args[:create_footer] if args.key?(:create_footer) + @create_footnote = args[:create_footnote] if args.key?(:create_footnote) @create_header = args[:create_header] if args.key?(:create_header) @create_named_range = args[:create_named_range] if args.key?(:create_named_range) @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) @@ -4129,6 +4188,11 @@ module Google # @return [Google::Apis::DocsV1::CreateFooterResponse] attr_accessor :create_footer + # The result of creating a footnote. + # Corresponds to the JSON property `createFootnote` + # @return [Google::Apis::DocsV1::CreateFootnoteResponse] + attr_accessor :create_footnote + # The result of creating a header. # Corresponds to the JSON property `createHeader` # @return [Google::Apis::DocsV1::CreateHeaderResponse] @@ -4161,6 +4225,7 @@ module Google # Update properties of this object def update!(**args) @create_footer = args[:create_footer] if args.key?(:create_footer) + @create_footnote = args[:create_footnote] if args.key?(:create_footnote) @create_header = args[:create_header] if args.key?(:create_header) @create_named_range = args[:create_named_range] if args.key?(:create_named_range) @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image) diff --git a/generated/google/apis/docs_v1/representations.rb b/generated/google/apis/docs_v1/representations.rb index 99e6ee922..5c05f4c18 100644 --- a/generated/google/apis/docs_v1/representations.rb +++ b/generated/google/apis/docs_v1/representations.rb @@ -94,6 +94,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CreateFootnoteRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateFootnoteResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CreateHeaderRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -985,6 +997,23 @@ module Google end end + class CreateFootnoteRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation + + property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation + + end + end + + class CreateFootnoteResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :footnote_id, as: 'footnoteId' + end + end + class CreateHeaderRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1907,6 +1936,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterRequest, decorator: Google::Apis::DocsV1::CreateFooterRequest::Representation + property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteRequest, decorator: Google::Apis::DocsV1::CreateFootnoteRequest::Representation + property :create_header, as: 'createHeader', class: Google::Apis::DocsV1::CreateHeaderRequest, decorator: Google::Apis::DocsV1::CreateHeaderRequest::Representation property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeRequest, decorator: Google::Apis::DocsV1::CreateNamedRangeRequest::Representation @@ -1971,6 +2002,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterResponse, decorator: Google::Apis::DocsV1::CreateFooterResponse::Representation + property :create_footnote, as: 'createFootnote', class: Google::Apis::DocsV1::CreateFootnoteResponse, decorator: Google::Apis::DocsV1::CreateFootnoteResponse::Representation + property :create_header, as: 'createHeader', class: Google::Apis::DocsV1::CreateHeaderResponse, decorator: Google::Apis::DocsV1::CreateHeaderResponse::Representation property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeResponse, decorator: Google::Apis::DocsV1::CreateNamedRangeResponse::Representation diff --git a/generated/google/apis/monitoring_v1.rb b/generated/google/apis/monitoring_v1.rb index 6dd51b6db..43ff8e9c7 100644 --- a/generated/google/apis/monitoring_v1.rb +++ b/generated/google/apis/monitoring_v1.rb @@ -30,7 +30,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV1 VERSION = 'V1' - REVISION = '20191207' + REVISION = '20200104' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v1/service.rb b/generated/google/apis/monitoring_v1/service.rb index 27c3a835c..a559d96ae 100644 --- a/generated/google/apis/monitoring_v1/service.rb +++ b/generated/google/apis/monitoring_v1/service.rb @@ -56,8 +56,8 @@ module Google # create permission on the specified project. For more information, see Google # Cloud IAM (https://cloud.google.com/iam). # @param [String] parent - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". The `project_id_or_number` must match the dashboard + # Required. The project on which to execute the request. The format is "projects/ + # `project_id_or_number`". The `project_id_or_number` must match the dashboard # resource name. # @param [Google::Apis::MonitoringV1::Dashboard] dashboard_object # @param [String] fields @@ -93,7 +93,7 @@ module Google # dashboards.delete permission on the specified dashboard. For more information, # see Google Cloud IAM (https://cloud.google.com/iam). # @param [String] name - # The resource name of the Dashboard. The format is "projects/` + # Required. The resource name of the Dashboard. The format is "projects/` # project_id_or_number`/dashboards/`dashboard_id`". # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -126,8 +126,8 @@ module Google # get permission on the specified dashboard. For more information, see Google # Cloud IAM (https://cloud.google.com/iam). # @param [String] name - # The resource name of the Dashboard. The format is one of "dashboards/` - # dashboard_id`" (for system dashboards) or "projects/`project_id_or_number`/ + # Required. The resource name of the Dashboard. The format is one of "dashboards/ + # `dashboard_id`" (for system dashboards) or "projects/`project_id_or_number`/ # dashboards/`dashboard_id`" (for custom dashboards). # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -160,8 +160,8 @@ module Google # list permission on the specified project. For more information, see Google # Cloud IAM (https://cloud.google.com/iam). # @param [String] parent - # The scope of the dashboards to list. A project scope must be specified in the - # form of "projects/`project_id_or_number`". + # Required. The scope of the dashboards to list. A project scope must be + # specified in the form of "projects/`project_id_or_number`". # @param [Fixnum] page_size # A positive number that is the maximum number of results to return. If # unspecified, a default of 1000 is used. diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index 901810e27..00773a2ff 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -30,7 +30,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20191207' + REVISION = '20200104' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index 7ef7d4610..9414c770b 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -2126,6 +2126,43 @@ module Google # @return [String] attr_accessor :type + # The units in which the metric value is reported. It is only applicable if the + # value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the + # representation of the stored metric values.Different systems may scale the + # values to be more easily displayed (so a value of 0.02KBy might be displayed + # as 20By, and a value of 3523KBy might be displayed as 3.5MBy). However, if the + # unit is KBy, then the value of the metric is always in thousands of bytes, no + # matter how it may be displayed..If you want a custom metric to record the + # exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE + # metric whose unit is s`CPU` (or equivalently 1s`CPU` or just s). If the job + # uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if + # you want a custom metric to record data in a more granular way, you can create + # a DOUBLE CUMULATIVE metric whose unit is ks`CPU`, and then write the value 12. + # 005 (which is 12005/1000), or use Kis`CPU` and write 11.723 (which is 12005/ + # 1024).The supported units are a subset of The Unified Code for Units of + # Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) + # bit bit + # By byte + # s second + # min minute + # h hour + # d dayPrefixes (PREFIX) + # k kilo (10^3) + # M mega (10^6) + # G giga (10^9) + # T tera (10^12) + # P peta (10^15) + # E exa (10^18) + # Z zetta (10^21) + # Y yotta (10^24) + # m milli (10^-3) + # u micro (10^-6) + # n nano (10^-9) + # p pico (10^-12) + # f femto (10^-15) + # a atto (10^-18) + # z zepto (10^-21) + # y yocto (10^-24) # Ki kibi (2^10) # Mi mebi (2^20) # Gi gibi (2^30) diff --git a/generated/google/apis/monitoring_v3/service.rb b/generated/google/apis/monitoring_v3/service.rb index 4d330f54f..75d69f3a8 100644 --- a/generated/google/apis/monitoring_v3/service.rb +++ b/generated/google/apis/monitoring_v3/service.rb @@ -1543,7 +1543,7 @@ module Google # Soft delete this Service. # @param [String] name # Resource name of the Service to delete. Of the form projects/`project_id`/ - # service/`service_id`. + # services/`service_id`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/recommender_v1beta1.rb b/generated/google/apis/recommender_v1beta1.rb index 9f967c34b..6e9894658 100644 --- a/generated/google/apis/recommender_v1beta1.rb +++ b/generated/google/apis/recommender_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/recommender/docs/ module RecommenderV1beta1 VERSION = 'V1beta1' - REVISION = '20191216' + REVISION = '20200108' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/recommender_v1beta1/classes.rb b/generated/google/apis/recommender_v1beta1/classes.rb index 26c319768..ca7e72d81 100644 --- a/generated/google/apis/recommender_v1beta1/classes.rb +++ b/generated/google/apis/recommender_v1beta1/classes.rb @@ -102,7 +102,7 @@ module Google class GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest include Google::Apis::Core::Hashable - # Fingerprint of the Recommendation. Provides optimistic locking. + # Required. Fingerprint of the Recommendation. Provides optimistic locking. # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag @@ -130,7 +130,7 @@ module Google class GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest include Google::Apis::Core::Hashable - # Fingerprint of the Recommendation. Provides optimistic locking. + # Required. Fingerprint of the Recommendation. Provides optimistic locking. # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag @@ -158,7 +158,7 @@ module Google class GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest include Google::Apis::Core::Hashable - # Fingerprint of the Recommendation. Provides optimistic locking. + # Required. Fingerprint of the Recommendation. Provides optimistic locking. # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag @@ -353,9 +353,6 @@ module Google attr_accessor :last_refresh_time # Name of recommendation. - # A project recommendation is represented as - # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/ - # recommendations/[RECOMMENDATION_ID] # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/recommender_v1beta1/service.rb b/generated/google/apis/recommender_v1beta1/service.rb index 8304ed7f4..d21cf6b11 100644 --- a/generated/google/apis/recommender_v1beta1/service.rb +++ b/generated/google/apis/recommender_v1beta1/service.rb @@ -50,7 +50,7 @@ module Google # Gets the requested recommendation. Requires the recommender.*.get # IAM permission for the specified recommender. # @param [String] name - # Name of the recommendation. + # Required. Name of the recommendation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -92,14 +92,16 @@ module Google # filter fields: state_info.state # Eg: `state_info.state:"DISMISSED" or state_info.state:"FAILED" # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. - # Non-positive values are ignored. If not specified, the server will - # determine the number of results to return. + # Optional. The maximum number of results to return from this request. Non- + # positive + # values are ignored. If not specified, the server will determine the number + # of results to return. # @param [String] page_token - # Optional. If present, retrieves the next batch of results from the - # preceding call to this method. `page_token` must be the value of - # `next_page_token` from the previous response. The values of other method - # parameters must be identical to those in the previous call. + # Optional. If present, retrieves the next batch of results from the preceding + # call to + # this method. `page_token` must be the value of `next_page_token` from the + # previous response. The values of other method parameters must be identical + # to those in the previous call. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -139,7 +141,7 @@ module Google # Requires the recommender.*.update IAM permission for the specified # recommender. # @param [String] name - # Name of the recommendation. + # Required. Name of the recommendation. # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest] google_cloud_recommender_v1beta1_mark_recommendation_claimed_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -180,7 +182,7 @@ module Google # Requires the recommender.*.update IAM permission for the specified # recommender. # @param [String] name - # Name of the recommendation. + # Required. Name of the recommendation. # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest] google_cloud_recommender_v1beta1_mark_recommendation_failed_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -221,7 +223,7 @@ module Google # Requires the recommender.*.update IAM permission for the specified # recommender. # @param [String] name - # Name of the recommendation. + # Required. Name of the recommendation. # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest] google_cloud_recommender_v1beta1_mark_recommendation_succeeded_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index 3f3de925a..9b9702d4f 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServicemanagementV1 VERSION = 'V1' - REVISION = '20191213' + REVISION = '20200103' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index ea2c26522..59e5e70c5 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -2489,6 +2489,48 @@ module Google # @return [String] attr_accessor :type + # The units in which the metric value is reported. It is only applicable + # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` + # defines the representation of the stored metric values. + # Different systems may scale the values to be more easily displayed (so a + # value of `0.02KBy` _might_ be displayed as `20By`, and a value of + # `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is + # `KBy`, then the value of the metric is always in thousands of bytes, no + # matter how it may be displayed.. + # If you want a custom metric to record the exact number of CPU-seconds used + # by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is + # `s`CPU`` (or equivalently `1s`CPU`` or just `s`). If the job uses 12,005 + # CPU-seconds, then the value is written as `12005`. + # Alternatively, if you want a custom metric to record data in a more + # granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is + # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), + # or use `Kis`CPU`` and write `11.723` (which is `12005/1024`). + # The supported units are a subset of [The Unified Code for Units of + # Measure](http://unitsofmeasure.org/ucum.html) standard: + # **Basic units (UNIT)** + # * `bit` bit + # * `By` byte + # * `s` second + # * `min` minute + # * `h` hour + # * `d` day + # **Prefixes (PREFIX)** + # * `k` kilo (10^3) + # * `M` mega (10^6) + # * `G` giga (10^9) + # * `T` tera (10^12) + # * `P` peta (10^15) + # * `E` exa (10^18) + # * `Z` zetta (10^21) + # * `Y` yotta (10^24) + # * `m` milli (10^-3) + # * `u` micro (10^-6) + # * `n` nano (10^-9) + # * `p` pico (10^-12) + # * `f` femto (10^-15) + # * `a` atto (10^-18) + # * `z` zepto (10^-21) + # * `y` yocto (10^-24) # * `Ki` kibi (2^10) # * `Mi` mebi (2^20) # * `Gi` gibi (2^30) diff --git a/generated/google/apis/tagmanager_v2.rb b/generated/google/apis/tagmanager_v2.rb index 9b42f7bb0..5eb78a927 100644 --- a/generated/google/apis/tagmanager_v2.rb +++ b/generated/google/apis/tagmanager_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/tag-manager module TagmanagerV2 VERSION = 'V2' - REVISION = '20190629' + REVISION = '20200107' # Delete your Google Tag Manager containers AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers' diff --git a/generated/google/apis/tagmanager_v2/classes.rb b/generated/google/apis/tagmanager_v2/classes.rb index 1800580ce..029584a3b 100644 --- a/generated/google/apis/tagmanager_v2/classes.rb +++ b/generated/google/apis/tagmanager_v2/classes.rb @@ -156,6 +156,94 @@ module Google end end + # + class Client + include Google::Apis::Core::Hashable + + # GTM Account ID. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # The Client ID uniquely identifies the GTM client. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + + # GTM Container ID. + # Corresponds to the JSON property `containerId` + # @return [String] + attr_accessor :container_id + + # The fingerprint of the GTM Client as computed at storage time. + # This value is recomputed whenever the client is modified. + # Corresponds to the JSON property `fingerprint` + # @return [String] + attr_accessor :fingerprint + + # Client display name. + # @mutable tagmanager.accounts.containers.workspaces.clients.create + # @mutable tagmanager.accounts.containers.workspaces.clients.update + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The client's parameters. + # @mutable tagmanager.accounts.containers.workspaces.clients.create + # @mutable tagmanager.accounts.containers.workspaces.clients.update + # Corresponds to the JSON property `parameter` + # @return [Array] + attr_accessor :parameter + + # GTM client's API relative path. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + # Priority determines relative firing order. + # @mutable tagmanager.accounts.containers.workspaces.clients.create + # @mutable tagmanager.accounts.containers.workspaces.clients.update + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + + # Auto generated link to the tag manager UI + # Corresponds to the JSON property `tagManagerUrl` + # @return [String] + attr_accessor :tag_manager_url + + # Client type. + # @mutable tagmanager.accounts.containers.workspaces.clients.create + # @mutable tagmanager.accounts.containers.workspaces.clients.update + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # GTM Workspace ID. + # Corresponds to the JSON property `workspaceId` + # @return [String] + attr_accessor :workspace_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @client_id = args[:client_id] if args.key?(:client_id) + @container_id = args[:container_id] if args.key?(:container_id) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @name = args[:name] if args.key?(:name) + @parameter = args[:parameter] if args.key?(:parameter) + @path = args[:path] if args.key?(:path) + @priority = args[:priority] if args.key?(:priority) + @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url) + @type = args[:type] if args.key?(:type) + @workspace_id = args[:workspace_id] if args.key?(:workspace_id) + end + end + # Represents a predicate. class Condition include Google::Apis::Core::Hashable @@ -326,6 +414,11 @@ module Google # @return [Array] attr_accessor :built_in_variable + # The clients in the container that this version was taken from. + # Corresponds to the JSON property `client` + # @return [Array] + attr_accessor :client + # Represents a Google Tag Manager Container, which specifies the platform tags # will run on, manages workspaces, and retains container versions. # Corresponds to the JSON property `container` @@ -415,6 +508,7 @@ module Google def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @built_in_variable = args[:built_in_variable] if args.key?(:built_in_variable) + @client = args[:client] if args.key?(:client) @container = args[:container] if args.key?(:container) @container_id = args[:container_id] if args.key?(:container_id) @container_version_id = args[:container_version_id] if args.key?(:container_version_id) @@ -629,6 +723,12 @@ module Google # @return [String] attr_accessor :fingerprint + # Represents the link between a custom template and an entry on the Community + # Template Gallery site. + # Corresponds to the JSON property `galleryReference` + # @return [Google::Apis::TagmanagerV2::GalleryReference] + attr_accessor :gallery_reference + # Custom Template display name. # Corresponds to the JSON property `name` # @return [String] @@ -668,6 +768,7 @@ module Google @account_id = args[:account_id] if args.key?(:account_id) @container_id = args[:container_id] if args.key?(:container_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @gallery_reference = args[:gallery_reference] if args.key?(:gallery_reference) @name = args[:name] if args.key?(:name) @path = args[:path] if args.key?(:path) @tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url) @@ -947,6 +1048,58 @@ module Google end end + # Represents the link between a custom template and an entry on the Community + # Template Gallery site. + class GalleryReference + include Google::Apis::Core::Hashable + + # The name of the host for the community gallery template. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # If a user has manually edited the community gallery template. + # Corresponds to the JSON property `isModified` + # @return [Boolean] + attr_accessor :is_modified + alias_method :is_modified?, :is_modified + + # The name of the owner for the community gallery template. + # Corresponds to the JSON property `owner` + # @return [String] + attr_accessor :owner + + # The name of the repository for the community gallery template. + # Corresponds to the JSON property `repository` + # @return [String] + attr_accessor :repository + + # The signature of the community gallery template as computed at import time. + # This value is recomputed whenever the template is updated from the gallery. + # Corresponds to the JSON property `signature` + # @return [String] + attr_accessor :signature + + # The version of the community gallery template. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host = args[:host] if args.key?(:host) + @is_modified = args[:is_modified] if args.key?(:is_modified) + @owner = args[:owner] if args.key?(:owner) + @repository = args[:repository] if args.key?(:repository) + @signature = args[:signature] if args.key?(:signature) + @version = args[:version] if args.key?(:version) + end + end + # The changes that have occurred in the workspace since the base container # version. class GetWorkspaceStatusResponse @@ -1375,6 +1528,8 @@ module Google # non-string types) #
  • trigger_reference: The value represents a trigger, # represented as the trigger id
  • + #
  • tag_reference: The value represents a tag, represented as + # the tag name
  • # # @mutable tagmanager.accounts.containers.workspaces.variables.create # @mutable tagmanager.accounts.containers.workspaces.variables.update @@ -1750,6 +1905,19 @@ module Google attr_accessor :live_only alias_method :live_only?, :live_only + # Represents a Google Tag Manager Parameter. + # Corresponds to the JSON property `monitoringMetadata` + # @return [Google::Apis::TagmanagerV2::Parameter] + attr_accessor :monitoring_metadata + + # If non-empty, then the tag display name will be included in the monitoring + # metadata map using the key specified. + # @mutable tagmanager.accounts.containers.workspaces.tags.create + # @mutable tagmanager.accounts.containers.workspaces.tags.update + # Corresponds to the JSON property `monitoringMetadataTagNameKey` + # @return [String] + attr_accessor :monitoring_metadata_tag_name_key + # Tag display name. # @mutable tagmanager.accounts.containers.workspaces.tags.create # @mutable tagmanager.accounts.containers.workspaces.tags.update @@ -1859,6 +2027,8 @@ module Google @firing_rule_id = args[:firing_rule_id] if args.key?(:firing_rule_id) @firing_trigger_id = args[:firing_trigger_id] if args.key?(:firing_trigger_id) @live_only = args[:live_only] if args.key?(:live_only) + @monitoring_metadata = args[:monitoring_metadata] if args.key?(:monitoring_metadata) + @monitoring_metadata_tag_name_key = args[:monitoring_metadata_tag_name_key] if args.key?(:monitoring_metadata_tag_name_key) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @parameter = args[:parameter] if args.key?(:parameter) diff --git a/generated/google/apis/tagmanager_v2/representations.rb b/generated/google/apis/tagmanager_v2/representations.rb index 0d165ca4f..90ca25011 100644 --- a/generated/google/apis/tagmanager_v2/representations.rb +++ b/generated/google/apis/tagmanager_v2/representations.rb @@ -40,6 +40,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Client + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Condition class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +124,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GalleryReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GetWorkspaceStatusResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -383,6 +395,24 @@ module Google end end + class Client + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :client_id, as: 'clientId' + property :container_id, as: 'containerId' + property :fingerprint, as: 'fingerprint' + property :name, as: 'name' + collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation + + property :path, as: 'path' + property :priority, as: 'priority' + property :tag_manager_url, as: 'tagManagerUrl' + property :type, as: 'type' + property :workspace_id, as: 'workspaceId' + end + end + class Condition # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -422,6 +452,8 @@ module Google property :account_id, as: 'accountId' collection :built_in_variable, as: 'builtInVariable', class: Google::Apis::TagmanagerV2::BuiltInVariable, decorator: Google::Apis::TagmanagerV2::BuiltInVariable::Representation + collection :client, as: 'client', class: Google::Apis::TagmanagerV2::Client, decorator: Google::Apis::TagmanagerV2::Client::Representation + property :container, as: 'container', class: Google::Apis::TagmanagerV2::Container, decorator: Google::Apis::TagmanagerV2::Container::Representation property :container_id, as: 'containerId' @@ -500,6 +532,8 @@ module Google property :account_id, as: 'accountId' property :container_id, as: 'containerId' property :fingerprint, as: 'fingerprint' + property :gallery_reference, as: 'galleryReference', class: Google::Apis::TagmanagerV2::GalleryReference, decorator: Google::Apis::TagmanagerV2::GalleryReference::Representation + property :name, as: 'name' property :path, as: 'path' property :tag_manager_url, as: 'tagManagerUrl' @@ -573,6 +607,18 @@ module Google end end + class GalleryReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' + property :is_modified, as: 'isModified' + property :owner, as: 'owner' + property :repository, as: 'repository' + property :signature, as: 'signature' + property :version, as: 'version' + end + end + class GetWorkspaceStatusResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -835,6 +881,9 @@ module Google collection :firing_rule_id, as: 'firingRuleId' collection :firing_trigger_id, as: 'firingTriggerId' property :live_only, as: 'liveOnly' + property :monitoring_metadata, as: 'monitoringMetadata', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation + + property :monitoring_metadata_tag_name_key, as: 'monitoringMetadataTagNameKey' property :name, as: 'name' property :notes, as: 'notes' collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation