From dce992a35dbdcd0c41eb0d4e2aaa21512534e6fa Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sun, 15 Sep 2019 00:37:08 +0000 Subject: [PATCH] Autogenerated update (2019-09-15) Update: - container_v1beta1 - logging_v2 --- generated/google/apis/container_v1beta1.rb | 2 +- .../google/apis/container_v1beta1/classes.rb | 111 +++++++++++++++++- .../apis/container_v1beta1/representations.rb | 35 ++++++ generated/google/apis/logging_v2.rb | 2 +- generated/google/apis/logging_v2/classes.rb | 30 +++++ .../google/apis/logging_v2/representations.rb | 15 +++ generated/google/apis/logging_v2/service.rb | 65 +++++----- 7 files changed, 220 insertions(+), 40 deletions(-) diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 253ff1e09..1aa20c65e 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20190813' + REVISION = '20190830' # 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/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index 3180c2dfa..aab442bde 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -32,7 +32,7 @@ module Google attr_accessor :accelerator_count # The accelerator type resource name. List of supported accelerators - # [here](/compute/docs/gpus/#Introduction) + # [here](/compute/docs/gpus) # Corresponds to the JSON property `acceleratorType` # @return [String] attr_accessor :accelerator_type @@ -1926,6 +1926,15 @@ module Google class MaintenancePolicy include Google::Apis::Core::Hashable + # A hash identifying the version of this policy, so that updates to fields of + # the policy won't accidentally undo intermediate changes (and so that users + # of the API unaware of some fields won't accidentally remove other fields). + # Make a get() request to the cluster to get the current + # resource version and include it with requests to set the policy. + # Corresponds to the JSON property `resourceVersion` + # @return [String] + attr_accessor :resource_version + # MaintenanceWindow defines the maintenance window to be used for the cluster. # Corresponds to the JSON property `window` # @return [Google::Apis::ContainerV1beta1::MaintenanceWindow] @@ -1937,6 +1946,7 @@ module Google # Update properties of this object def update!(**args) + @resource_version = args[:resource_version] if args.key?(:resource_version) @window = args[:window] if args.key?(:window) end end @@ -1950,6 +1960,17 @@ module Google # @return [Google::Apis::ContainerV1beta1::DailyMaintenanceWindow] attr_accessor :daily_maintenance_window + # Exceptions to maintenance window. Non-emergency maintenance should not + # occur in these windows. + # Corresponds to the JSON property `maintenanceExclusions` + # @return [Hash] + attr_accessor :maintenance_exclusions + + # Represents an arbitrary window of time that recurs. + # Corresponds to the JSON property `recurringWindow` + # @return [Google::Apis::ContainerV1beta1::RecurringTimeWindow] + attr_accessor :recurring_window + def initialize(**args) update!(**args) end @@ -1957,6 +1978,8 @@ module Google # Update properties of this object def update!(**args) @daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window) + @maintenance_exclusions = args[:maintenance_exclusions] if args.key?(:maintenance_exclusions) + @recurring_window = args[:recurring_window] if args.key?(:recurring_window) end end @@ -2235,9 +2258,9 @@ module Google attr_accessor :labels # The number of local SSD disks to be attached to the node. - # The limit for this value is dependant upon the maximum number of + # The limit for this value is dependent upon the maximum number of # disks available on a machine per zone. See: - # https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits + # https://cloud.google.com/compute/docs/disks/local-ssd # for more information. # Corresponds to the JSON property `localSsdCount` # @return [Fixnum] @@ -2832,6 +2855,11 @@ module Google # @return [String] attr_accessor :master_ipv4_cidr_block + # Output only. The peering name in the customer VPC used by this cluster. + # Corresponds to the JSON property `peeringName` + # @return [String] + attr_accessor :peering_name + # Output only. The internal IP address of this cluster's master endpoint. # Corresponds to the JSON property `privateEndpoint` # @return [String] @@ -2852,11 +2880,62 @@ module Google @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint) @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes) @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block) + @peering_name = args[:peering_name] if args.key?(:peering_name) @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint) @public_endpoint = args[:public_endpoint] if args.key?(:public_endpoint) end end + # Represents an arbitrary window of time that recurs. + class RecurringTimeWindow + include Google::Apis::Core::Hashable + + # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how + # this window reccurs. They go on for the span of time between the start and + # end time. + # For example, to have something repeat every weekday, you'd use: + # FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR + # To repeat some window daily (equivalent to the DailyMaintenanceWindow): + # FREQ=DAILY + # For the first weekend of every month: + # FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU + # This specifies how frequently the window starts. Eg, if you wanted to have + # a 9-5 UTC-4 window every weekday, you'd use something like: + # + # start time = 2019-01-01T09:00:00-0400 + # end time = 2019-01-01T17:00:00-0400 + # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR + # + # Windows can span multiple days. Eg, to make the window encompass every + # weekend from midnight Saturday till the last minute of Sunday UTC: + # + # start time = 2019-01-05T00:00:00Z + # end time = 2019-01-07T23:59:00Z + # recurrence = FREQ=WEEKLY;BYDAY=SA + # + # Note the start and end time's specific dates are largely arbitrary except + # to specify duration of the window and when it first starts. + # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. + # Corresponds to the JSON property `recurrence` + # @return [String] + attr_accessor :recurrence + + # Represents an arbitrary window of time. + # Corresponds to the JSON property `window` + # @return [Google::Apis::ContainerV1beta1::TimeWindow] + attr_accessor :window + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @recurrence = args[:recurrence] if args.key?(:recurrence) + @window = args[:window] if args.key?(:window) + end + end + # ReleaseChannel indicates which release channel a cluster is # subscribed to. Release channels are arranged in order of risk and # frequency of updates. @@ -3941,6 +4020,32 @@ module Google end end + # Represents an arbitrary window of time. + class TimeWindow + include Google::Apis::Core::Hashable + + # The time that the window ends. The end time should take place after the + # start time. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The time that the window first starts. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + # UpdateClusterRequest updates the settings of a cluster. class UpdateClusterRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 039fc8b25..80607d51b 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -370,6 +370,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RecurringTimeWindow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ReleaseChannel class Representation < Google::Apis::Core::JsonRepresentation; end @@ -520,6 +526,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TimeWindow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UpdateClusterRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1037,6 +1049,7 @@ module Google class MaintenancePolicy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :resource_version, as: 'resourceVersion' property :window, as: 'window', class: Google::Apis::ContainerV1beta1::MaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::MaintenanceWindow::Representation end @@ -1047,6 +1060,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow::Representation + hash :maintenance_exclusions, as: 'maintenanceExclusions', class: Google::Apis::ContainerV1beta1::TimeWindow, decorator: Google::Apis::ContainerV1beta1::TimeWindow::Representation + + property :recurring_window, as: 'recurringWindow', class: Google::Apis::ContainerV1beta1::RecurringTimeWindow, decorator: Google::Apis::ContainerV1beta1::RecurringTimeWindow::Representation + end end @@ -1254,11 +1271,21 @@ module Google property :enable_private_endpoint, as: 'enablePrivateEndpoint' property :enable_private_nodes, as: 'enablePrivateNodes' property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock' + property :peering_name, as: 'peeringName' property :private_endpoint, as: 'privateEndpoint' property :public_endpoint, as: 'publicEndpoint' end end + class RecurringTimeWindow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :recurrence, as: 'recurrence' + property :window, as: 'window', class: Google::Apis::ContainerV1beta1::TimeWindow, decorator: Google::Apis::ContainerV1beta1::TimeWindow::Representation + + end + end + class ReleaseChannel # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1519,6 +1546,14 @@ module Google end end + class TimeWindow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end + end + class UpdateClusterRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/logging_v2.rb b/generated/google/apis/logging_v2.rb index b6e552782..25c688f9e 100644 --- a/generated/google/apis/logging_v2.rb +++ b/generated/google/apis/logging_v2.rb @@ -28,7 +28,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2 VERSION = 'V2' - REVISION = '20190902' + REVISION = '20190907' # 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/logging_v2/classes.rb b/generated/google/apis/logging_v2/classes.rb index e1c5411ee..49dc46b79 100644 --- a/generated/google/apis/logging_v2/classes.rb +++ b/generated/google/apis/logging_v2/classes.rb @@ -22,6 +22,30 @@ module Google module Apis module LoggingV2 + # Options that change functionality of a sink exporting data to BigQuery. + class BigQueryOptions + include Google::Apis::Core::Hashable + + # Optional. Whether to use BigQuery's partition tables. By default, Logging + # creates dated tables based on the log entries' timestamps, e.g. + # syslog_20170523. With partitioned tables the date suffix is no longer present + # and special query syntax has to be used instead. In both cases, tables are + # sharded based on UTC timezone. + # Corresponds to the JSON property `usePartitionedTables` + # @return [Boolean] + attr_accessor :use_partitioned_tables + alias_method :use_partitioned_tables?, :use_partitioned_tables + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @use_partitioned_tables = args[:use_partitioned_tables] if args.key?(:use_partitioned_tables) + end + end + # BucketOptions describes the bucket boundaries used to create a histogram for # the distribution. The buckets can be in a linear sequence, an exponential # sequence, or each bucket can be specified explicitly. BucketOptions does not @@ -1085,6 +1109,11 @@ module Google class LogSink include Google::Apis::Core::Hashable + # Options that change functionality of a sink exporting data to BigQuery. + # Corresponds to the JSON property `bigqueryOptions` + # @return [Google::Apis::LoggingV2::BigQueryOptions] + attr_accessor :bigquery_options + # Output only. The creation timestamp of the sink.This field may not be present # for older sinks. # Corresponds to the JSON property `createTime` @@ -1165,6 +1194,7 @@ module Google # Update properties of this object def update!(**args) + @bigquery_options = args[:bigquery_options] if args.key?(:bigquery_options) @create_time = args[:create_time] if args.key?(:create_time) @destination = args[:destination] if args.key?(:destination) @filter = args[:filter] if args.key?(:filter) diff --git a/generated/google/apis/logging_v2/representations.rb b/generated/google/apis/logging_v2/representations.rb index 651c5d83a..08d056406 100644 --- a/generated/google/apis/logging_v2/representations.rb +++ b/generated/google/apis/logging_v2/representations.rb @@ -22,6 +22,12 @@ module Google module Apis module LoggingV2 + class BigQueryOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BucketOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -208,6 +214,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BigQueryOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :use_partitioned_tables, as: 'usePartitionedTables' + end + end + class BucketOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -437,6 +450,8 @@ module Google class LogSink # @private class Representation < Google::Apis::Core::JsonRepresentation + property :bigquery_options, as: 'bigqueryOptions', class: Google::Apis::LoggingV2::BigQueryOptions, decorator: Google::Apis::LoggingV2::BigQueryOptions::Representation + property :create_time, as: 'createTime' property :destination, as: 'destination' property :filter, as: 'filter' diff --git a/generated/google/apis/logging_v2/service.rb b/generated/google/apis/logging_v2/service.rb index 3f4a10439..70ef9b2f0 100644 --- a/generated/google/apis/logging_v2/service.rb +++ b/generated/google/apis/logging_v2/service.rb @@ -293,7 +293,11 @@ module Google # Lists the logs in projects, organizations, folders, or billing accounts. Only # logs that have entries are listed. # @param [String] parent - # Required. To be deprecated in Logging Data Model V2. + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [Fixnum] page_size # Optional. The maximum number of results to return from this request. Non- # positive values are ignored. The presence of nextPageToken in the response @@ -303,10 +307,6 @@ module Google # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Array, String] resource_names - # Required for Logging Data Model V2. The resource name that owns the logs: " - # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/ - # BILLING_ACCOUNT_ID" "folders/FOLDER_ID" # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -324,14 +324,13 @@ 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_billing_account_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_billing_account_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1140,7 +1139,11 @@ module Google # Lists the logs in projects, organizations, folders, or billing accounts. Only # logs that have entries are listed. # @param [String] parent - # Required. To be deprecated in Logging Data Model V2. + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [Fixnum] page_size # Optional. The maximum number of results to return from this request. Non- # positive values are ignored. The presence of nextPageToken in the response @@ -1150,10 +1153,6 @@ module Google # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Array, String] resource_names - # Required for Logging Data Model V2. The resource name that owns the logs: " - # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/ - # BILLING_ACCOUNT_ID" "folders/FOLDER_ID" # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1171,14 +1170,13 @@ 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_folder_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_folder_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1519,7 +1517,11 @@ module Google # Lists the logs in projects, organizations, folders, or billing accounts. Only # logs that have entries are listed. # @param [String] parent - # Required. To be deprecated in Logging Data Model V2. + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [Fixnum] page_size # Optional. The maximum number of results to return from this request. Non- # positive values are ignored. The presence of nextPageToken in the response @@ -1529,10 +1531,6 @@ module Google # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Array, String] resource_names - # Required for Logging Data Model V2. The resource name that owns the logs: " - # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/ - # BILLING_ACCOUNT_ID" "folders/FOLDER_ID" # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1550,14 +1548,13 @@ 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_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1844,7 +1841,11 @@ module Google # Lists the logs in projects, organizations, folders, or billing accounts. Only # logs that have entries are listed. # @param [String] parent - # Required. To be deprecated in Logging Data Model V2. + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [Fixnum] page_size # Optional. The maximum number of results to return from this request. Non- # positive values are ignored. The presence of nextPageToken in the response @@ -1854,10 +1855,6 @@ module Google # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Array, String] resource_names - # Required for Logging Data Model V2. The resource name that owns the logs: " - # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/ - # BILLING_ACCOUNT_ID" "folders/FOLDER_ID" # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1875,14 +1872,13 @@ 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_organization_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_organization_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -2424,7 +2420,11 @@ module Google # Lists the logs in projects, organizations, folders, or billing accounts. Only # logs that have entries are listed. # @param [String] parent - # Required. To be deprecated in Logging Data Model V2. + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [Fixnum] page_size # Optional. The maximum number of results to return from this request. Non- # positive values are ignored. The presence of nextPageToken in the response @@ -2434,10 +2434,6 @@ module Google # preceding call to this method. pageToken must be the value of nextPageToken # from the previous response. The values of other method parameters should be # identical to those in the previous call. - # @param [Array, String] resource_names - # Required for Logging Data Model V2. The resource name that owns the logs: " - # projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/ - # BILLING_ACCOUNT_ID" "folders/FOLDER_ID" # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2455,14 +2451,13 @@ 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_project_logs(parent, page_size: nil, page_token: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_logs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v2/{+parent}/logs', options) command.response_representation = Google::Apis::LoggingV2::ListLogsResponse::Representation command.response_class = Google::Apis::LoggingV2::ListLogsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)