From 9267e91d2f947126a78c542c441598e79b72bdef Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 13 Aug 2019 00:37:50 +0000 Subject: [PATCH] Autogenerated update (2019-08-13) Update: - bigquery_v2 - cloudprivatecatalogproducer_v1beta1 - doubleclickbidmanager_v1 - securitycenter_v1 - securitycenter_v1beta1 --- generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 136 +++++++++++++++++- .../apis/bigquery_v2/representations.rb | 64 +++++++++ generated/google/apis/bigquery_v2/service.rb | 6 +- .../cloudprivatecatalogproducer_v1beta1.rb | 2 +- .../classes.rb | 9 -- .../representations.rb | 1 - .../google/apis/doubleclickbidmanager_v1.rb | 2 +- generated/google/apis/securitycenter_v1.rb | 2 +- .../google/apis/securitycenter_v1/classes.rb | 9 -- .../apis/securitycenter_v1/representations.rb | 1 - .../google/apis/securitycenter_v1beta1.rb | 2 +- .../apis/securitycenter_v1beta1/classes.rb | 9 -- .../securitycenter_v1beta1/representations.rb | 1 - 14 files changed, 207 insertions(+), 39 deletions(-) diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 326e0dbcf..97be2eef0 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20190724' + REVISION = '20190807' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 99f710680..bffea01d9 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -617,6 +617,85 @@ module Google end end + # Representative value of a categorical feature. + class CategoricalValue + include Google::Apis::Core::Hashable + + # Counts of all categories for the categorical feature. If there are + # more than ten categories, we return top ten (by count) and return + # one more CategoryCount with category "_OTHER_" and count as + # aggregate counts of remaining categories. + # Corresponds to the JSON property `categoryCounts` + # @return [Array] + attr_accessor :category_counts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @category_counts = args[:category_counts] if args.key?(:category_counts) + end + end + + # Represents the count of a single category within the cluster. + class CategoryCount + include Google::Apis::Core::Hashable + + # The name of category. + # Corresponds to the JSON property `category` + # @return [String] + attr_accessor :category + + # The count of training samples matching the category within the + # cluster. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @category = args[:category] if args.key?(:category) + @count = args[:count] if args.key?(:count) + end + end + + # Message containing the information about one cluster. + class Cluster + include Google::Apis::Core::Hashable + + # Centroid id. + # Corresponds to the JSON property `centroidId` + # @return [Fixnum] + attr_accessor :centroid_id + + # Count of training data rows that were assigned to this cluster. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Values of highly variant features for this cluster. + # Corresponds to the JSON property `featureValues` + # @return [Array] + attr_accessor :feature_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @centroid_id = args[:centroid_id] if args.key?(:centroid_id) + @count = args[:count] if args.key?(:count) + @feature_values = args[:feature_values] if args.key?(:feature_values) + end + end + # Information about a single cluster for clustering model. class ClusterInfo include Google::Apis::Core::Hashable @@ -675,6 +754,11 @@ module Google class ClusteringMetrics include Google::Apis::Core::Hashable + # [Beta] Information for all clusters. + # Corresponds to the JSON property `clusters` + # @return [Array] + attr_accessor :clusters + # Davies-Bouldin index. # Corresponds to the JSON property `daviesBouldinIndex` # @return [Float] @@ -691,6 +775,7 @@ module Google # Update properties of this object def update!(**args) + @clusters = args[:clusters] if args.key?(:clusters) @davies_bouldin_index = args[:davies_bouldin_index] if args.key?(:davies_bouldin_index) @mean_squared_distance = args[:mean_squared_distance] if args.key?(:mean_squared_distance) end @@ -1623,6 +1708,38 @@ module Google end end + # Representative value of a single feature within the cluster. + class FeatureValue + include Google::Apis::Core::Hashable + + # Representative value of a categorical feature. + # Corresponds to the JSON property `categoricalValue` + # @return [Google::Apis::BigqueryV2::CategoricalValue] + attr_accessor :categorical_value + + # The feature column name. + # Corresponds to the JSON property `featureColumn` + # @return [String] + attr_accessor :feature_column + + # The numerical feature value. This is the centroid value for this + # feature. + # Corresponds to the JSON property `numericalValue` + # @return [Float] + attr_accessor :numerical_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @categorical_value = args[:categorical_value] if args.key?(:categorical_value) + @feature_column = args[:feature_column] if args.key?(:feature_column) + @numerical_value = args[:numerical_value] if args.key?(:numerical_value) + end + end + # class GetQueryResultsResponse include Google::Apis::Core::Hashable @@ -1828,7 +1945,7 @@ module Google class IterationResult include Google::Apis::Core::Hashable - # [Beta] Information about top clusters for clustering models. + # Information about top clusters for clustering models. # Corresponds to the JSON property `clusterInfos` # @return [Array] attr_accessor :cluster_infos @@ -5212,7 +5329,7 @@ module Google # @return [String] attr_accessor :data_split_method - # [Beta] Distance type for clustering models. + # Distance type for clustering models. # Corresponds to the JSON property `distanceType` # @return [String] attr_accessor :distance_type @@ -5236,6 +5353,17 @@ module Google # @return [Array] attr_accessor :input_label_columns + # The column used to provide the initial centroids for kmeans algorithm + # when kmeans_initialization_method is CUSTOM. + # Corresponds to the JSON property `kmeansInitializationColumn` + # @return [String] + attr_accessor :kmeans_initialization_column + + # The method used to initialize the centroids for kmeans algorithm. + # Corresponds to the JSON property `kmeansInitializationMethod` + # @return [String] + attr_accessor :kmeans_initialization_method + # L1 regularization coefficient. # Corresponds to the JSON property `l1Regularization` # @return [Float] @@ -5286,7 +5414,7 @@ module Google # @return [String] attr_accessor :model_uri - # [Beta] Number of clusters for clustering models. + # Number of clusters for clustering models. # Corresponds to the JSON property `numClusters` # @return [Fixnum] attr_accessor :num_clusters @@ -5315,6 +5443,8 @@ module Google @early_stop = args[:early_stop] if args.key?(:early_stop) @initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate) @input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns) + @kmeans_initialization_column = args[:kmeans_initialization_column] if args.key?(:kmeans_initialization_column) + @kmeans_initialization_method = args[:kmeans_initialization_method] if args.key?(:kmeans_initialization_method) @l1_regularization = args[:l1_regularization] if args.key?(:l1_regularization) @l2_regularization = args[:l2_regularization] if args.key?(:l2_regularization) @label_class_weights = args[:label_class_weights] if args.key?(:label_class_weights) diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 98dac837d..d26d224e1 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -88,6 +88,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CategoricalValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CategoryCount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Cluster + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ClusterInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -196,6 +214,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FeatureValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GetQueryResultsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -754,6 +778,32 @@ module Google end end + class CategoricalValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :category_counts, as: 'categoryCounts', class: Google::Apis::BigqueryV2::CategoryCount, decorator: Google::Apis::BigqueryV2::CategoryCount::Representation + + end + end + + class CategoryCount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :category, as: 'category' + property :count, :numeric_string => true, as: 'count' + end + end + + class Cluster + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :centroid_id, :numeric_string => true, as: 'centroidId' + property :count, :numeric_string => true, as: 'count' + collection :feature_values, as: 'featureValues', class: Google::Apis::BigqueryV2::FeatureValue, decorator: Google::Apis::BigqueryV2::FeatureValue::Representation + + end + end + class ClusterInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -773,6 +823,8 @@ module Google class ClusteringMetrics # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :clusters, as: 'clusters', class: Google::Apis::BigqueryV2::Cluster, decorator: Google::Apis::BigqueryV2::Cluster::Representation + property :davies_bouldin_index, as: 'daviesBouldinIndex' property :mean_squared_distance, as: 'meanSquaredDistance' end @@ -984,6 +1036,16 @@ module Google end end + class FeatureValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :categorical_value, as: 'categoricalValue', class: Google::Apis::BigqueryV2::CategoricalValue, decorator: Google::Apis::BigqueryV2::CategoricalValue::Representation + + property :feature_column, as: 'featureColumn' + property :numerical_value, as: 'numericalValue' + end + end + class GetQueryResultsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1878,6 +1940,8 @@ module Google property :early_stop, as: 'earlyStop' property :initial_learn_rate, as: 'initialLearnRate' collection :input_label_columns, as: 'inputLabelColumns' + property :kmeans_initialization_column, as: 'kmeansInitializationColumn' + property :kmeans_initialization_method, as: 'kmeansInitializationMethod' property :l1_regularization, as: 'l1Regularization' property :l2_regularization, as: 'l2Regularization' hash :label_class_weights, as: 'labelClassWeights' diff --git a/generated/google/apis/bigquery_v2/service.rb b/generated/google/apis/bigquery_v2/service.rb index 016568901..6c7a84e75 100644 --- a/generated/google/apis/bigquery_v2/service.rb +++ b/generated/google/apis/bigquery_v2/service.rb @@ -499,6 +499,9 @@ module Google # only jobs created after or at this timestamp are returned # @param [String] page_token # Page token, returned by a previous call, to request the next page of results + # @param [String] parent_job_id + # If set, retrieves only jobs whose parent is this job. Otherwise, retrieves + # only jobs which have no parent # @param [String] projection # Restrict information returned to a set of selected fields # @param [Array, String] state_filter @@ -522,7 +525,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_jobs(project_id, all_users: nil, max_creation_time: nil, max_results: nil, min_creation_time: nil, page_token: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_jobs(project_id, all_users: nil, max_creation_time: nil, max_results: nil, min_creation_time: nil, page_token: nil, parent_job_id: nil, projection: nil, state_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{projectId}/jobs', options) command.response_representation = Google::Apis::BigqueryV2::JobList::Representation command.response_class = Google::Apis::BigqueryV2::JobList @@ -532,6 +535,7 @@ module Google command.query['maxResults'] = max_results unless max_results.nil? command.query['minCreationTime'] = min_creation_time unless min_creation_time.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['parentJobId'] = parent_job_id unless parent_job_id.nil? command.query['projection'] = projection unless projection.nil? command.query['stateFilter'] = state_filter unless state_filter.nil? command.query['fields'] = fields unless fields.nil? diff --git a/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb b/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb index 553b4d607..047f5f651 100644 --- a/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +++ b/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/private-catalog/ module CloudprivatecatalogproducerV1beta1 VERSION = 'V1beta1' - REVISION = '20190804' + REVISION = '20190810' # 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/cloudprivatecatalogproducer_v1beta1/classes.rb b/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb index 0dc61c46c..a00886b3b 100644 --- a/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +++ b/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb @@ -681,14 +681,6 @@ module Google # @return [Array] attr_accessor :exempted_members - # Specifies whether principals can be exempted for the same LogType in - # lower-level resource policies. If true, any lower-level exemptions will - # be ignored. - # Corresponds to the JSON property `ignoreChildExemptions` - # @return [Boolean] - attr_accessor :ignore_child_exemptions - alias_method :ignore_child_exemptions?, :ignore_child_exemptions - # The log type that this config enables. # Corresponds to the JSON property `logType` # @return [String] @@ -701,7 +693,6 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions) @log_type = args[:log_type] if args.key?(:log_type) end end diff --git a/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb b/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb index c8fc1e11e..621b8876d 100644 --- a/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +++ b/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb @@ -294,7 +294,6 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :exempted_members, as: 'exemptedMembers' - property :ignore_child_exemptions, as: 'ignoreChildExemptions' property :log_type, as: 'logType' end end diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index 2990b6949..510d572e4 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20190715' + REVISION = '20190807' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index a5ddfad00..764be1b20 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - REVISION = '20190802' + REVISION = '20190810' # 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/securitycenter_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index 4b728ff6b..e0f37e1c9 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -217,14 +217,6 @@ module Google # @return [Array] attr_accessor :exempted_members - # Specifies whether principals can be exempted for the same LogType in - # lower-level resource policies. If true, any lower-level exemptions will - # be ignored. - # Corresponds to the JSON property `ignoreChildExemptions` - # @return [Boolean] - attr_accessor :ignore_child_exemptions - alias_method :ignore_child_exemptions?, :ignore_child_exemptions - # The log type that this config enables. # Corresponds to the JSON property `logType` # @return [String] @@ -237,7 +229,6 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions) @log_type = args[:log_type] if args.key?(:log_type) end end diff --git a/generated/google/apis/securitycenter_v1/representations.rb b/generated/google/apis/securitycenter_v1/representations.rb index 7cc4f972e..c0792e44b 100644 --- a/generated/google/apis/securitycenter_v1/representations.rb +++ b/generated/google/apis/securitycenter_v1/representations.rb @@ -275,7 +275,6 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :exempted_members, as: 'exemptedMembers' - property :ignore_child_exemptions, as: 'ignoreChildExemptions' property :log_type, as: 'logType' end end diff --git a/generated/google/apis/securitycenter_v1beta1.rb b/generated/google/apis/securitycenter_v1beta1.rb index 34be7db53..ab2c08f43 100644 --- a/generated/google/apis/securitycenter_v1beta1.rb +++ b/generated/google/apis/securitycenter_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1beta1 VERSION = 'V1beta1' - REVISION = '20190802' + REVISION = '20190810' # 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/securitycenter_v1beta1/classes.rb b/generated/google/apis/securitycenter_v1beta1/classes.rb index 9574dc827..8d6d27f48 100644 --- a/generated/google/apis/securitycenter_v1beta1/classes.rb +++ b/generated/google/apis/securitycenter_v1beta1/classes.rb @@ -209,14 +209,6 @@ module Google # @return [Array] attr_accessor :exempted_members - # Specifies whether principals can be exempted for the same LogType in - # lower-level resource policies. If true, any lower-level exemptions will - # be ignored. - # Corresponds to the JSON property `ignoreChildExemptions` - # @return [Boolean] - attr_accessor :ignore_child_exemptions - alias_method :ignore_child_exemptions?, :ignore_child_exemptions - # The log type that this config enables. # Corresponds to the JSON property `logType` # @return [String] @@ -229,7 +221,6 @@ module Google # Update properties of this object def update!(**args) @exempted_members = args[:exempted_members] if args.key?(:exempted_members) - @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions) @log_type = args[:log_type] if args.key?(:log_type) end end diff --git a/generated/google/apis/securitycenter_v1beta1/representations.rb b/generated/google/apis/securitycenter_v1beta1/representations.rb index 65a88dd7f..3175655b2 100644 --- a/generated/google/apis/securitycenter_v1beta1/representations.rb +++ b/generated/google/apis/securitycenter_v1beta1/representations.rb @@ -267,7 +267,6 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :exempted_members, as: 'exemptedMembers' - property :ignore_child_exemptions, as: 'ignoreChildExemptions' property :log_type, as: 'logType' end end