Autogenerated update (2017-11-10)

Update:
- adexchangebuyer2_v2beta1
- analyticsreporting_v4
- cloudtrace_v1
- cloudtrace_v2
- container_v1
- container_v1beta1
- deploymentmanager_alpha
- deploymentmanager_v2beta
- firebasedynamiclinks_v1
- oslogin_v1alpha
- oslogin_v1beta
- people_v1
- servicemanagement_v1
- serviceuser_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2017-11-10 00:35:09 +00:00
parent c387e3f320
commit b3f83d598e
40 changed files with 1187 additions and 282 deletions

View File

@ -4914,9 +4914,12 @@
"/analyticsreporting:v4/GetReportsRequest": get_reports_request "/analyticsreporting:v4/GetReportsRequest": get_reports_request
"/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests "/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests
"/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request "/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request
"/analyticsreporting:v4/GetReportsRequest/useResourceQuotas": use_resource_quotas
"/analyticsreporting:v4/GetReportsResponse": get_reports_response "/analyticsreporting:v4/GetReportsResponse": get_reports_response
"/analyticsreporting:v4/GetReportsResponse/queryCost": query_cost
"/analyticsreporting:v4/GetReportsResponse/reports": reports "/analyticsreporting:v4/GetReportsResponse/reports": reports
"/analyticsreporting:v4/GetReportsResponse/reports/report": report "/analyticsreporting:v4/GetReportsResponse/reports/report": report
"/analyticsreporting:v4/GetReportsResponse/resourceQuotasRemaining": resource_quotas_remaining
"/analyticsreporting:v4/Metric": metric "/analyticsreporting:v4/Metric": metric
"/analyticsreporting:v4/Metric/alias": alias "/analyticsreporting:v4/Metric/alias": alias
"/analyticsreporting:v4/Metric/expression": expression "/analyticsreporting:v4/Metric/expression": expression
@ -5018,6 +5021,9 @@
"/analyticsreporting:v4/ReportRow/dimensions/dimension": dimension "/analyticsreporting:v4/ReportRow/dimensions/dimension": dimension
"/analyticsreporting:v4/ReportRow/metrics": metrics "/analyticsreporting:v4/ReportRow/metrics": metrics
"/analyticsreporting:v4/ReportRow/metrics/metric": metric "/analyticsreporting:v4/ReportRow/metrics/metric": metric
"/analyticsreporting:v4/ResourceQuotasRemaining": resource_quotas_remaining
"/analyticsreporting:v4/ResourceQuotasRemaining/dailyQuotaTokensRemaining": daily_quota_tokens_remaining
"/analyticsreporting:v4/ResourceQuotasRemaining/hourlyQuotaTokensRemaining": hourly_quota_tokens_remaining
"/analyticsreporting:v4/Segment": segment "/analyticsreporting:v4/Segment": segment
"/analyticsreporting:v4/Segment/dynamicSegment": dynamic_segment "/analyticsreporting:v4/Segment/dynamicSegment": dynamic_segment
"/analyticsreporting:v4/Segment/segmentId": segment_id "/analyticsreporting:v4/Segment/segmentId": segment_id
@ -28873,6 +28879,12 @@
"/container:v1beta1/ServerConfig/validMasterVersions/valid_master_version": valid_master_version "/container:v1beta1/ServerConfig/validMasterVersions/valid_master_version": valid_master_version
"/container:v1beta1/ServerConfig/validNodeVersions": valid_node_versions "/container:v1beta1/ServerConfig/validNodeVersions": valid_node_versions
"/container:v1beta1/ServerConfig/validNodeVersions/valid_node_version": valid_node_version "/container:v1beta1/ServerConfig/validNodeVersions/valid_node_version": valid_node_version
"/container:v1beta1/SetAddonsConfigRequest": set_addons_config_request
"/container:v1beta1/SetAddonsConfigRequest/addonsConfig": addons_config
"/container:v1beta1/SetAddonsConfigRequest/clusterId": cluster_id
"/container:v1beta1/SetAddonsConfigRequest/name": name
"/container:v1beta1/SetAddonsConfigRequest/projectId": project_id
"/container:v1beta1/SetAddonsConfigRequest/zone": zone
"/container:v1beta1/SetLabelsRequest": set_labels_request "/container:v1beta1/SetLabelsRequest": set_labels_request
"/container:v1beta1/SetLabelsRequest/clusterId": cluster_id "/container:v1beta1/SetLabelsRequest/clusterId": cluster_id
"/container:v1beta1/SetLabelsRequest/labelFingerprint": label_fingerprint "/container:v1beta1/SetLabelsRequest/labelFingerprint": label_fingerprint
@ -28887,6 +28899,13 @@
"/container:v1beta1/SetLegacyAbacRequest/name": name "/container:v1beta1/SetLegacyAbacRequest/name": name
"/container:v1beta1/SetLegacyAbacRequest/projectId": project_id "/container:v1beta1/SetLegacyAbacRequest/projectId": project_id
"/container:v1beta1/SetLegacyAbacRequest/zone": zone "/container:v1beta1/SetLegacyAbacRequest/zone": zone
"/container:v1beta1/SetLocationsRequest": set_locations_request
"/container:v1beta1/SetLocationsRequest/clusterId": cluster_id
"/container:v1beta1/SetLocationsRequest/locations": locations
"/container:v1beta1/SetLocationsRequest/locations/location": location
"/container:v1beta1/SetLocationsRequest/name": name
"/container:v1beta1/SetLocationsRequest/projectId": project_id
"/container:v1beta1/SetLocationsRequest/zone": zone
"/container:v1beta1/SetLoggingServiceRequest": set_logging_service_request "/container:v1beta1/SetLoggingServiceRequest": set_logging_service_request
"/container:v1beta1/SetLoggingServiceRequest/clusterId": cluster_id "/container:v1beta1/SetLoggingServiceRequest/clusterId": cluster_id
"/container:v1beta1/SetLoggingServiceRequest/loggingService": logging_service "/container:v1beta1/SetLoggingServiceRequest/loggingService": logging_service
@ -28906,12 +28925,25 @@
"/container:v1beta1/SetMasterAuthRequest/projectId": project_id "/container:v1beta1/SetMasterAuthRequest/projectId": project_id
"/container:v1beta1/SetMasterAuthRequest/update": update "/container:v1beta1/SetMasterAuthRequest/update": update
"/container:v1beta1/SetMasterAuthRequest/zone": zone "/container:v1beta1/SetMasterAuthRequest/zone": zone
"/container:v1beta1/SetMonitoringServiceRequest": set_monitoring_service_request
"/container:v1beta1/SetMonitoringServiceRequest/clusterId": cluster_id
"/container:v1beta1/SetMonitoringServiceRequest/monitoringService": monitoring_service
"/container:v1beta1/SetMonitoringServiceRequest/name": name
"/container:v1beta1/SetMonitoringServiceRequest/projectId": project_id
"/container:v1beta1/SetMonitoringServiceRequest/zone": zone
"/container:v1beta1/SetNetworkPolicyRequest": set_network_policy_request "/container:v1beta1/SetNetworkPolicyRequest": set_network_policy_request
"/container:v1beta1/SetNetworkPolicyRequest/clusterId": cluster_id "/container:v1beta1/SetNetworkPolicyRequest/clusterId": cluster_id
"/container:v1beta1/SetNetworkPolicyRequest/name": name "/container:v1beta1/SetNetworkPolicyRequest/name": name
"/container:v1beta1/SetNetworkPolicyRequest/networkPolicy": network_policy "/container:v1beta1/SetNetworkPolicyRequest/networkPolicy": network_policy
"/container:v1beta1/SetNetworkPolicyRequest/projectId": project_id "/container:v1beta1/SetNetworkPolicyRequest/projectId": project_id
"/container:v1beta1/SetNetworkPolicyRequest/zone": zone "/container:v1beta1/SetNetworkPolicyRequest/zone": zone
"/container:v1beta1/SetNodePoolAutoscalingRequest": set_node_pool_autoscaling_request
"/container:v1beta1/SetNodePoolAutoscalingRequest/autoscaling": autoscaling
"/container:v1beta1/SetNodePoolAutoscalingRequest/clusterId": cluster_id
"/container:v1beta1/SetNodePoolAutoscalingRequest/name": name
"/container:v1beta1/SetNodePoolAutoscalingRequest/nodePoolId": node_pool_id
"/container:v1beta1/SetNodePoolAutoscalingRequest/projectId": project_id
"/container:v1beta1/SetNodePoolAutoscalingRequest/zone": zone
"/container:v1beta1/SetNodePoolManagementRequest": set_node_pool_management_request "/container:v1beta1/SetNodePoolManagementRequest": set_node_pool_management_request
"/container:v1beta1/SetNodePoolManagementRequest/clusterId": cluster_id "/container:v1beta1/SetNodePoolManagementRequest/clusterId": cluster_id
"/container:v1beta1/SetNodePoolManagementRequest/management": management "/container:v1beta1/SetNodePoolManagementRequest/management": management
@ -28930,6 +28962,20 @@
"/container:v1beta1/UpdateClusterRequest/projectId": project_id "/container:v1beta1/UpdateClusterRequest/projectId": project_id
"/container:v1beta1/UpdateClusterRequest/update": update "/container:v1beta1/UpdateClusterRequest/update": update
"/container:v1beta1/UpdateClusterRequest/zone": zone "/container:v1beta1/UpdateClusterRequest/zone": zone
"/container:v1beta1/UpdateMasterRequest": update_master_request
"/container:v1beta1/UpdateMasterRequest/clusterId": cluster_id
"/container:v1beta1/UpdateMasterRequest/masterVersion": master_version
"/container:v1beta1/UpdateMasterRequest/name": name
"/container:v1beta1/UpdateMasterRequest/projectId": project_id
"/container:v1beta1/UpdateMasterRequest/zone": zone
"/container:v1beta1/UpdateNodePoolRequest": update_node_pool_request
"/container:v1beta1/UpdateNodePoolRequest/clusterId": cluster_id
"/container:v1beta1/UpdateNodePoolRequest/imageType": image_type
"/container:v1beta1/UpdateNodePoolRequest/name": name
"/container:v1beta1/UpdateNodePoolRequest/nodePoolId": node_pool_id
"/container:v1beta1/UpdateNodePoolRequest/nodeVersion": node_version
"/container:v1beta1/UpdateNodePoolRequest/projectId": project_id
"/container:v1beta1/UpdateNodePoolRequest/zone": zone
"/container:v1beta1/container.projects.clusters.list": list_clusters "/container:v1beta1/container.projects.clusters.list": list_clusters
"/container:v1beta1/container.projects.locations.clusters.completeIpRotation": complete_project_location_cluster_ip_rotation "/container:v1beta1/container.projects.locations.clusters.completeIpRotation": complete_project_location_cluster_ip_rotation
"/container:v1beta1/container.projects.locations.clusters.completeIpRotation/name": name "/container:v1beta1/container.projects.locations.clusters.completeIpRotation/name": name
@ -28970,16 +29016,26 @@
"/container:v1beta1/container.projects.locations.clusters.nodePools.list/zone": zone "/container:v1beta1/container.projects.locations.clusters.nodePools.list/zone": zone
"/container:v1beta1/container.projects.locations.clusters.nodePools.rollback": rollback_project_location_cluster_node_pool "/container:v1beta1/container.projects.locations.clusters.nodePools.rollback": rollback_project_location_cluster_node_pool
"/container:v1beta1/container.projects.locations.clusters.nodePools.rollback/name": name "/container:v1beta1/container.projects.locations.clusters.nodePools.rollback/name": name
"/container:v1beta1/container.projects.locations.clusters.nodePools.setAutoscaling": set_project_location_cluster_node_pool_autoscaling
"/container:v1beta1/container.projects.locations.clusters.nodePools.setAutoscaling/name": name
"/container:v1beta1/container.projects.locations.clusters.nodePools.setManagement": set_project_location_cluster_node_pool_management "/container:v1beta1/container.projects.locations.clusters.nodePools.setManagement": set_project_location_cluster_node_pool_management
"/container:v1beta1/container.projects.locations.clusters.nodePools.setManagement/name": name "/container:v1beta1/container.projects.locations.clusters.nodePools.setManagement/name": name
"/container:v1beta1/container.projects.locations.clusters.nodePools.update": update_project_location_cluster_node_pool
"/container:v1beta1/container.projects.locations.clusters.nodePools.update/name": name
"/container:v1beta1/container.projects.locations.clusters.setAddons": set_cluster_addons_config
"/container:v1beta1/container.projects.locations.clusters.setAddons/name": name
"/container:v1beta1/container.projects.locations.clusters.setLegacyAbac": set_cluster_legacy_abac "/container:v1beta1/container.projects.locations.clusters.setLegacyAbac": set_cluster_legacy_abac
"/container:v1beta1/container.projects.locations.clusters.setLegacyAbac/name": name "/container:v1beta1/container.projects.locations.clusters.setLegacyAbac/name": name
"/container:v1beta1/container.projects.locations.clusters.setLocations": set_cluster_locations
"/container:v1beta1/container.projects.locations.clusters.setLocations/name": name
"/container:v1beta1/container.projects.locations.clusters.setLogging": set_cluster_logging_service "/container:v1beta1/container.projects.locations.clusters.setLogging": set_cluster_logging_service
"/container:v1beta1/container.projects.locations.clusters.setLogging/name": name "/container:v1beta1/container.projects.locations.clusters.setLogging/name": name
"/container:v1beta1/container.projects.locations.clusters.setMaintenancePolicy": set_project_location_cluster_maintenance_policy "/container:v1beta1/container.projects.locations.clusters.setMaintenancePolicy": set_project_location_cluster_maintenance_policy
"/container:v1beta1/container.projects.locations.clusters.setMaintenancePolicy/name": name "/container:v1beta1/container.projects.locations.clusters.setMaintenancePolicy/name": name
"/container:v1beta1/container.projects.locations.clusters.setMasterAuth": set_project_location_cluster_master_auth "/container:v1beta1/container.projects.locations.clusters.setMasterAuth": set_project_location_cluster_master_auth
"/container:v1beta1/container.projects.locations.clusters.setMasterAuth/name": name "/container:v1beta1/container.projects.locations.clusters.setMasterAuth/name": name
"/container:v1beta1/container.projects.locations.clusters.setMonitoring": set_cluster_monitoring_service
"/container:v1beta1/container.projects.locations.clusters.setMonitoring/name": name
"/container:v1beta1/container.projects.locations.clusters.setNetworkPolicy": set_project_location_cluster_network_policy "/container:v1beta1/container.projects.locations.clusters.setNetworkPolicy": set_project_location_cluster_network_policy
"/container:v1beta1/container.projects.locations.clusters.setNetworkPolicy/name": name "/container:v1beta1/container.projects.locations.clusters.setNetworkPolicy/name": name
"/container:v1beta1/container.projects.locations.clusters.setResourceLabels": set_project_location_cluster_resource_labels "/container:v1beta1/container.projects.locations.clusters.setResourceLabels": set_project_location_cluster_resource_labels
@ -28988,6 +29044,8 @@
"/container:v1beta1/container.projects.locations.clusters.startIpRotation/name": name "/container:v1beta1/container.projects.locations.clusters.startIpRotation/name": name
"/container:v1beta1/container.projects.locations.clusters.update": update_project_location_cluster "/container:v1beta1/container.projects.locations.clusters.update": update_project_location_cluster
"/container:v1beta1/container.projects.locations.clusters.update/name": name "/container:v1beta1/container.projects.locations.clusters.update/name": name
"/container:v1beta1/container.projects.locations.clusters.updateMaster": update_cluster_master
"/container:v1beta1/container.projects.locations.clusters.updateMaster/name": name
"/container:v1beta1/container.projects.locations.getServerConfig": get_project_location_server_config "/container:v1beta1/container.projects.locations.getServerConfig": get_project_location_server_config
"/container:v1beta1/container.projects.locations.getServerConfig/name": name "/container:v1beta1/container.projects.locations.getServerConfig/name": name
"/container:v1beta1/container.projects.locations.getServerConfig/projectId": project_id "/container:v1beta1/container.projects.locations.getServerConfig/projectId": project_id
@ -29004,6 +29062,10 @@
"/container:v1beta1/container.projects.locations.operations.list/projectId": project_id "/container:v1beta1/container.projects.locations.operations.list/projectId": project_id
"/container:v1beta1/container.projects.locations.operations.list/zone": zone "/container:v1beta1/container.projects.locations.operations.list/zone": zone
"/container:v1beta1/container.projects.operations.list": list_operations "/container:v1beta1/container.projects.operations.list": list_operations
"/container:v1beta1/container.projects.zones.clusters.addons": addons_project_zone_cluster
"/container:v1beta1/container.projects.zones.clusters.addons/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.addons/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.addons/zone": zone
"/container:v1beta1/container.projects.zones.clusters.completeIpRotation": complete_project_zone_cluster_ip_rotation "/container:v1beta1/container.projects.zones.clusters.completeIpRotation": complete_project_zone_cluster_ip_rotation
"/container:v1beta1/container.projects.zones.clusters.completeIpRotation/clusterId": cluster_id "/container:v1beta1/container.projects.zones.clusters.completeIpRotation/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.completeIpRotation/projectId": project_id "/container:v1beta1/container.projects.zones.clusters.completeIpRotation/projectId": project_id
@ -29029,10 +29091,27 @@
"/container:v1beta1/container.projects.zones.clusters.list/parent": parent "/container:v1beta1/container.projects.zones.clusters.list/parent": parent
"/container:v1beta1/container.projects.zones.clusters.list/projectId": project_id "/container:v1beta1/container.projects.zones.clusters.list/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.list/zone": zone "/container:v1beta1/container.projects.zones.clusters.list/zone": zone
"/container:v1beta1/container.projects.zones.clusters.locations": locations_project_zone_cluster
"/container:v1beta1/container.projects.zones.clusters.locations/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.locations/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.locations/zone": zone
"/container:v1beta1/container.projects.zones.clusters.logging": logging_project_zone_cluster "/container:v1beta1/container.projects.zones.clusters.logging": logging_project_zone_cluster
"/container:v1beta1/container.projects.zones.clusters.logging/clusterId": cluster_id "/container:v1beta1/container.projects.zones.clusters.logging/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.logging/projectId": project_id "/container:v1beta1/container.projects.zones.clusters.logging/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.logging/zone": zone "/container:v1beta1/container.projects.zones.clusters.logging/zone": zone
"/container:v1beta1/container.projects.zones.clusters.master": master_project_zone_cluster
"/container:v1beta1/container.projects.zones.clusters.master/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.master/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.master/zone": zone
"/container:v1beta1/container.projects.zones.clusters.monitoring": monitoring_project_zone_cluster
"/container:v1beta1/container.projects.zones.clusters.monitoring/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.monitoring/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.monitoring/zone": zone
"/container:v1beta1/container.projects.zones.clusters.nodePools.autoscaling": autoscaling_project_zone_cluster_node_pool
"/container:v1beta1/container.projects.zones.clusters.nodePools.autoscaling/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.autoscaling/nodePoolId": node_pool_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.autoscaling/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.autoscaling/zone": zone
"/container:v1beta1/container.projects.zones.clusters.nodePools.create": create_project_zone_cluster_node_pool "/container:v1beta1/container.projects.zones.clusters.nodePools.create": create_project_zone_cluster_node_pool
"/container:v1beta1/container.projects.zones.clusters.nodePools.create/clusterId": cluster_id "/container:v1beta1/container.projects.zones.clusters.nodePools.create/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.create/projectId": project_id "/container:v1beta1/container.projects.zones.clusters.nodePools.create/projectId": project_id
@ -29064,6 +29143,11 @@
"/container:v1beta1/container.projects.zones.clusters.nodePools.setManagement/nodePoolId": node_pool_id "/container:v1beta1/container.projects.zones.clusters.nodePools.setManagement/nodePoolId": node_pool_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.setManagement/projectId": project_id "/container:v1beta1/container.projects.zones.clusters.nodePools.setManagement/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.setManagement/zone": zone "/container:v1beta1/container.projects.zones.clusters.nodePools.setManagement/zone": zone
"/container:v1beta1/container.projects.zones.clusters.nodePools.update": update_project_zone_cluster_node_pool
"/container:v1beta1/container.projects.zones.clusters.nodePools.update/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.update/nodePoolId": node_pool_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.update/projectId": project_id
"/container:v1beta1/container.projects.zones.clusters.nodePools.update/zone": zone
"/container:v1beta1/container.projects.zones.clusters.resourceLabels": resource_project_zone_cluster_labels "/container:v1beta1/container.projects.zones.clusters.resourceLabels": resource_project_zone_cluster_labels
"/container:v1beta1/container.projects.zones.clusters.resourceLabels/clusterId": cluster_id "/container:v1beta1/container.projects.zones.clusters.resourceLabels/clusterId": cluster_id
"/container:v1beta1/container.projects.zones.clusters.resourceLabels/projectId": project_id "/container:v1beta1/container.projects.zones.clusters.resourceLabels/projectId": project_id
@ -42022,6 +42106,7 @@
"/firebasedynamiclinks:v1/DeviceInfo": device_info "/firebasedynamiclinks:v1/DeviceInfo": device_info
"/firebasedynamiclinks:v1/DeviceInfo/deviceModelName": device_model_name "/firebasedynamiclinks:v1/DeviceInfo/deviceModelName": device_model_name
"/firebasedynamiclinks:v1/DeviceInfo/languageCode": language_code "/firebasedynamiclinks:v1/DeviceInfo/languageCode": language_code
"/firebasedynamiclinks:v1/DeviceInfo/languageCodeRaw": language_code_raw
"/firebasedynamiclinks:v1/DeviceInfo/screenResolutionHeight": screen_resolution_height "/firebasedynamiclinks:v1/DeviceInfo/screenResolutionHeight": screen_resolution_height
"/firebasedynamiclinks:v1/DeviceInfo/screenResolutionWidth": screen_resolution_width "/firebasedynamiclinks:v1/DeviceInfo/screenResolutionWidth": screen_resolution_width
"/firebasedynamiclinks:v1/DeviceInfo/timezone": timezone "/firebasedynamiclinks:v1/DeviceInfo/timezone": timezone

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1 module Adexchangebuyer2V2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20171102' REVISION = '20171108'
# Manage your Ad Exchange buyer account configuration # Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -869,13 +869,6 @@ module Google
# @return [String] # @return [String]
attr_accessor :environment attr_accessor :environment
# The ID of the filter set; unique within the account of the filter set
# owner.
# The value of this field is ignored in create operations.
# Corresponds to the JSON property `filterSetId`
# @return [Fixnum]
attr_accessor :filter_set_id
# The format on which to filter; optional. # The format on which to filter; optional.
# Corresponds to the JSON property `format` # Corresponds to the JSON property `format`
# @return [String] # @return [String]
@ -943,7 +936,6 @@ module Google
@creative_id = args[:creative_id] if args.key?(:creative_id) @creative_id = args[:creative_id] if args.key?(:creative_id)
@deal_id = args[:deal_id] if args.key?(:deal_id) @deal_id = args[:deal_id] if args.key?(:deal_id)
@environment = args[:environment] if args.key?(:environment) @environment = args[:environment] if args.key?(:environment)
@filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id)
@format = args[:format] if args.key?(:format) @format = args[:format] if args.key?(:format)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@platforms = args[:platforms] if args.key?(:platforms) @platforms = args[:platforms] if args.key?(:platforms)

View File

@ -570,7 +570,6 @@ module Google
property :creative_id, as: 'creativeId' property :creative_id, as: 'creativeId'
property :deal_id, :numeric_string => true, as: 'dealId' property :deal_id, :numeric_string => true, as: 'dealId'
property :environment, as: 'environment' property :environment, as: 'environment'
property :filter_set_id, :numeric_string => true, as: 'filterSetId'
property :format, as: 'format' property :format, as: 'format'
property :name, as: 'name' property :name, as: 'name'
collection :platforms, as: 'platforms' collection :platforms, as: 'platforms'

View File

@ -849,8 +849,6 @@ module Google
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456` # whose bidder is 123: `bidders/123/accounts/456`
# @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Boolean] is_transient # @param [Boolean] is_transient
# Whether the filter set is transient, or should be persisted indefinitely. # Whether the filter set is transient, or should be persisted indefinitely.
# By default, filter sets are not transient. # By default, filter sets are not transient.
@ -872,14 +870,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def create_bidder_account_filter_set(owner_name, filter_set_object = nil, account_id: nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block) def create_bidder_account_filter_set(owner_name, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options) command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.request_object = filter_set_object command.request_object = filter_set_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
command.params['ownerName'] = owner_name unless owner_name.nil? command.params['ownerName'] = owner_name unless owner_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['isTransient'] = is_transient unless is_transient.nil? command.query['isTransient'] = is_transient unless is_transient.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -897,10 +894,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to delete.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -918,13 +911,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_bidder_account_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block) def delete_bidder_account_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+name}', options) command = make_simple_command(:delete, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
command.params['name'] = name unless name.nil? command.params['name'] = name unless name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -941,10 +932,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to get.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -962,13 +949,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_bidder_account_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block) def get_bidder_account_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+name}', options) command = make_simple_command(:get, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
command.params['name'] = name unless name.nil? command.params['name'] = name unless name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -983,8 +968,6 @@ module Google
# 123: `bidders/123/accounts/123` # 123: `bidders/123/accounts/123`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456` # whose bidder is 123: `bidders/123/accounts/456`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1012,12 +995,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_sets(owner_name, account_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_sets(owner_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options) command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
command.params['ownerName'] = owner_name unless owner_name.nil? command.params['ownerName'] = owner_name unless owner_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1035,10 +1017,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1065,13 +1043,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_bid_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_bid_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1090,10 +1066,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1120,13 +1092,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_bid_response_errors(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_bid_response_errors(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1145,10 +1115,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1175,13 +1141,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_bid_responses_without_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_bid_responses_without_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1200,10 +1164,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1230,13 +1190,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bid_requests(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_filtered_bid_requests(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1255,10 +1213,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1285,13 +1239,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_filtered_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1316,10 +1268,6 @@ module Google
# See # See
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# downloads/creative-status-codes). # downloads/creative-status-codes).
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1346,14 +1294,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil? command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1378,10 +1324,6 @@ module Google
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# downloads/creative-status-codes). # downloads/creative-status-codes).
# Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87. # Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1408,14 +1350,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_filtered_bid_details(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_filtered_bid_details(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil? command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1433,10 +1373,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1463,13 +1399,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_impression_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_impression_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1488,10 +1422,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1518,13 +1448,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_losing_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_losing_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1543,10 +1471,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1573,13 +1497,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_account_filter_set_non_billable_winning_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_account_filter_set_non_billable_winning_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1597,8 +1519,6 @@ module Google
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456` # whose bidder is 123: `bidders/123/accounts/456`
# @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Boolean] is_transient # @param [Boolean] is_transient
# Whether the filter set is transient, or should be persisted indefinitely. # Whether the filter set is transient, or should be persisted indefinitely.
# By default, filter sets are not transient. # By default, filter sets are not transient.
@ -1620,14 +1540,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def create_bidder_filter_set(owner_name, filter_set_object = nil, account_id: nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block) def create_bidder_filter_set(owner_name, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options) command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.request_object = filter_set_object command.request_object = filter_set_object
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
command.params['ownerName'] = owner_name unless owner_name.nil? command.params['ownerName'] = owner_name unless owner_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['isTransient'] = is_transient unless is_transient.nil? command.query['isTransient'] = is_transient unless is_transient.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -1645,10 +1564,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to delete.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1666,13 +1581,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_bidder_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block) def delete_bidder_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v2beta1/{+name}', options) command = make_simple_command(:delete, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
command.params['name'] = name unless name.nil? command.params['name'] = name unless name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -1689,10 +1602,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to get.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1710,13 +1619,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_bidder_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block) def get_bidder_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+name}', options) command = make_simple_command(:get, 'v2beta1/{+name}', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
command.params['name'] = name unless name.nil? command.params['name'] = name unless name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
@ -1731,8 +1638,6 @@ module Google
# 123: `bidders/123/accounts/123` # 123: `bidders/123/accounts/123`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456` # whose bidder is 123: `bidders/123/accounts/456`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1760,12 +1665,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_sets(owner_name, account_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_sets(owner_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options) command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
command.params['ownerName'] = owner_name unless owner_name.nil? command.params['ownerName'] = owner_name unless owner_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1783,10 +1687,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1813,13 +1713,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_bid_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_bid_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1838,10 +1736,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1868,13 +1762,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_bid_response_errors(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_bid_response_errors(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1893,10 +1785,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1923,13 +1811,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_bid_responses_without_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_bid_responses_without_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -1948,10 +1834,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -1978,13 +1860,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bid_requests(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_filtered_bid_requests(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -2003,10 +1883,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -2033,13 +1909,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_filtered_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -2064,10 +1938,6 @@ module Google
# See # See
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# downloads/creative-status-codes). # downloads/creative-status-codes).
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -2094,14 +1964,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil? command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -2126,10 +1994,6 @@ module Google
# [creative-status-codes](https://developers.google.com/ad-exchange/rtb/ # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
# downloads/creative-status-codes). # downloads/creative-status-codes).
# Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87. # Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -2156,14 +2020,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_filtered_bid_details(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_filtered_bid_details(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil? command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -2181,10 +2043,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -2211,13 +2069,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_impression_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_impression_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -2236,10 +2092,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -2266,13 +2118,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_losing_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_losing_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
@ -2291,10 +2141,6 @@ module Google
# 123: `bidders/123/accounts/123/filterSets/abc` # 123: `bidders/123/accounts/123/filterSets/abc`
# - For an account-level filter set for the child seat buyer account 456 # - For an account-level filter set for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/filterSets/abc` # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
# @param [Fixnum] account_id
# Account ID of the buyer.
# @param [Fixnum] filter_set_id
# The ID of the filter set to apply.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# Requested page size. The server may return fewer results than requested. # Requested page size. The server may return fewer results than requested.
# If unspecified, the server will pick an appropriate default. # If unspecified, the server will pick an appropriate default.
@ -2321,13 +2167,11 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_bidder_filter_set_non_billable_winning_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_bidder_filter_set_non_billable_winning_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options) command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
command.params['filterSetName'] = filter_set_name unless filter_set_name.nil? command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
command.query['accountId'] = account_id unless account_id.nil?
command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
command.query['pageSize'] = page_size unless page_size.nil? command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil? command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/ # @see https://developers.google.com/analytics/devguides/reporting/core/v4/
module AnalyticsreportingV4 module AnalyticsreportingV4
VERSION = 'V4' VERSION = 'V4'
REVISION = '20170925' REVISION = '20171108'
# View and manage your Google Analytics data # View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'

View File

@ -376,6 +376,21 @@ module Google
# @return [Array<Google::Apis::AnalyticsreportingV4::ReportRequest>] # @return [Array<Google::Apis::AnalyticsreportingV4::ReportRequest>]
attr_accessor :report_requests attr_accessor :report_requests
# Enables
# [resource based quotas](/analytics/devguides/reporting/core/v4/limits-quotas#
# analytics_reporting_api_v4),
# (defaults to `False`). If this field is set to `True` the
# per view (profile) quotas are governed by the computational
# cost of the request. Note that using cost based quotas will
# higher enable sampling rates. (10 Million for `SMALL`,
# 100M for `LARGE`. See the
# [limits and quotas documentation](/analytics/devguides/reporting/core/v4/
# limits-quotas#analytics_reporting_api_v4) for details.
# Corresponds to the JSON property `useResourceQuotas`
# @return [Boolean]
attr_accessor :use_resource_quotas
alias_method :use_resource_quotas?, :use_resource_quotas
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -383,6 +398,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@report_requests = args[:report_requests] if args.key?(:report_requests) @report_requests = args[:report_requests] if args.key?(:report_requests)
@use_resource_quotas = args[:use_resource_quotas] if args.key?(:use_resource_quotas)
end end
end end
@ -391,18 +407,32 @@ module Google
class GetReportsResponse class GetReportsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The amount of resource quota tokens deducted to execute the query. Includes
# all responses.
# Corresponds to the JSON property `queryCost`
# @return [Fixnum]
attr_accessor :query_cost
# Responses corresponding to each of the request. # Responses corresponding to each of the request.
# Corresponds to the JSON property `reports` # Corresponds to the JSON property `reports`
# @return [Array<Google::Apis::AnalyticsreportingV4::Report>] # @return [Array<Google::Apis::AnalyticsreportingV4::Report>]
attr_accessor :reports attr_accessor :reports
# The resource quota tokens remaining for the property after the request is
# completed.
# Corresponds to the JSON property `resourceQuotasRemaining`
# @return [Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining]
attr_accessor :resource_quotas_remaining
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@query_cost = args[:query_cost] if args.key?(:query_cost)
@reports = args[:reports] if args.key?(:reports) @reports = args[:reports] if args.key?(:reports)
@resource_quotas_remaining = args[:resource_quotas_remaining] if args.key?(:resource_quotas_remaining)
end end
end end
@ -1103,6 +1133,32 @@ module Google
end end
end end
# The resource quota tokens remaining for the property after the request is
# completed.
class ResourceQuotasRemaining
include Google::Apis::Core::Hashable
# Daily resource quota remaining remaining.
# Corresponds to the JSON property `dailyQuotaTokensRemaining`
# @return [Fixnum]
attr_accessor :daily_quota_tokens_remaining
# Hourly resource quota tokens remaining.
# Corresponds to the JSON property `hourlyQuotaTokensRemaining`
# @return [Fixnum]
attr_accessor :hourly_quota_tokens_remaining
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@daily_quota_tokens_remaining = args[:daily_quota_tokens_remaining] if args.key?(:daily_quota_tokens_remaining)
@hourly_quota_tokens_remaining = args[:hourly_quota_tokens_remaining] if args.key?(:hourly_quota_tokens_remaining)
end
end
# The segment definition, if the report needs to be segmented. # The segment definition, if the report needs to be segmented.
# A Segment is a subset of the Analytics data. For example, of the entire # A Segment is a subset of the Analytics data. For example, of the entire
# set of users, one Segment might be users from a particular country or city. # set of users, one Segment might be users from a particular country or city.

View File

@ -178,6 +178,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ResourceQuotasRemaining
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Segment class Segment
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -321,14 +327,18 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :report_requests, as: 'reportRequests', class: Google::Apis::AnalyticsreportingV4::ReportRequest, decorator: Google::Apis::AnalyticsreportingV4::ReportRequest::Representation collection :report_requests, as: 'reportRequests', class: Google::Apis::AnalyticsreportingV4::ReportRequest, decorator: Google::Apis::AnalyticsreportingV4::ReportRequest::Representation
property :use_resource_quotas, as: 'useResourceQuotas'
end end
end end
class GetReportsResponse class GetReportsResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :query_cost, as: 'queryCost'
collection :reports, as: 'reports', class: Google::Apis::AnalyticsreportingV4::Report, decorator: Google::Apis::AnalyticsreportingV4::Report::Representation collection :reports, as: 'reports', class: Google::Apis::AnalyticsreportingV4::Report, decorator: Google::Apis::AnalyticsreportingV4::Report::Representation
property :resource_quotas_remaining, as: 'resourceQuotasRemaining', class: Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining, decorator: Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining::Representation
end end
end end
@ -506,6 +516,14 @@ module Google
end end
end end
class ResourceQuotasRemaining
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :daily_quota_tokens_remaining, as: 'dailyQuotaTokensRemaining'
property :hourly_quota_tokens_remaining, as: 'hourlyQuotaTokensRemaining'
end
end
class Segment class Segment
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -20,15 +20,14 @@ module Google
module Apis module Apis
# Stackdriver Trace API # Stackdriver Trace API
# #
# Send and retrieve trace data from Stackdriver Trace. Data is generated and # Sends application trace data to Stackdriver Trace for viewing. Trace data is
# available by default for all App Engine applications. Data from other # collected for all App Engine applications by default. Trace data from other
# applications can be written to Stackdriver Trace for display, reporting, and # applications can be provided using this API.
# analysis.
# #
# @see https://cloud.google.com/trace # @see https://cloud.google.com/trace
module CloudtraceV1 module CloudtraceV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170927' REVISION = '20171106'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,10 +22,9 @@ module Google
module CloudtraceV1 module CloudtraceV1
# Stackdriver Trace API # Stackdriver Trace API
# #
# Send and retrieve trace data from Stackdriver Trace. Data is generated and # Sends application trace data to Stackdriver Trace for viewing. Trace data is
# available by default for all App Engine applications. Data from other # collected for all App Engine applications by default. Trace data from other
# applications can be written to Stackdriver Trace for display, reporting, and # applications can be provided using this API.
# analysis.
# #
# @example # @example
# require 'google/apis/cloudtrace_v1' # require 'google/apis/cloudtrace_v1'

View File

@ -20,15 +20,14 @@ module Google
module Apis module Apis
# Stackdriver Trace API # Stackdriver Trace API
# #
# Send and retrieve trace data from Stackdriver Trace. Data is generated and # Sends application trace data to Stackdriver Trace for viewing. Trace data is
# available by default for all App Engine applications. Data from other # collected for all App Engine applications by default. Trace data from other
# applications can be written to Stackdriver Trace for display, reporting, and # applications can be provided using this API.
# analysis.
# #
# @see https://cloud.google.com/trace # @see https://cloud.google.com/trace
module CloudtraceV2 module CloudtraceV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20171020' REVISION = '20171106'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -116,7 +116,8 @@ module Google
class BatchWriteSpansRequest class BatchWriteSpansRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A collection of spans. # A list of new spans. The span names must not match existing
# spans, or the results are undefined.
# Corresponds to the JSON property `spans` # Corresponds to the JSON property `spans`
# @return [Array<Google::Apis::CloudtraceV2::Span>] # @return [Array<Google::Apis::CloudtraceV2::Span>]
attr_accessor :spans attr_accessor :spans
@ -162,12 +163,12 @@ module Google
# @return [Google::Apis::CloudtraceV2::Attributes] # @return [Google::Apis::CloudtraceV2::Attributes]
attr_accessor :attributes attr_accessor :attributes
# `SPAN_ID` identifies a span within a trace. # The [SPAN_ID] for a span within a trace.
# Corresponds to the JSON property `spanId` # Corresponds to the JSON property `spanId`
# @return [String] # @return [String]
attr_accessor :span_id attr_accessor :span_id
# `TRACE_ID` identifies a trace within a project. # The [TRACE_ID] for a trace within a project.
# Corresponds to the JSON property `traceId` # Corresponds to the JSON property `traceId`
# @return [String] # @return [String]
attr_accessor :trace_id attr_accessor :trace_id
@ -323,9 +324,10 @@ module Google
# The resource name of the span in the following format: # The resource name of the span in the following format:
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
# identifier for a trace within a project. # identifier for a trace within a project;
# [SPAN_ID] is a unique identifier for a span within a trace, # it is a 32-character hexadecimal encoding of a 16-byte array.
# assigned when the span is created. # [SPAN_ID] is a unique identifier for a span within a trace; it
# is a 16-character hexadecimal encoding of an 8-byte array.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -336,16 +338,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :parent_span_id attr_accessor :parent_span_id
# A highly recommended but not required flag that identifies when a trace # (Optional) Set this parameter to indicate whether this span is in
# crosses a process boundary. True when the parent_span belongs to the # the same process as its parent. If you do not set this parameter,
# same process as the current span. # Stackdriver Trace is unable to take advantage of this helpful
# information.
# Corresponds to the JSON property `sameProcessAsParentSpan` # Corresponds to the JSON property `sameProcessAsParentSpan`
# @return [Boolean] # @return [Boolean]
attr_accessor :same_process_as_parent_span attr_accessor :same_process_as_parent_span
alias_method :same_process_as_parent_span?, :same_process_as_parent_span alias_method :same_process_as_parent_span?, :same_process_as_parent_span
# The [SPAN_ID] portion of the span's resource name. # The [SPAN_ID] portion of the span's resource name.
# The ID is a 16-character hexadecimal encoding of an 8-byte array.
# Corresponds to the JSON property `spanId` # Corresponds to the JSON property `spanId`
# @return [String] # @return [String]
attr_accessor :span_id attr_accessor :span_id
@ -696,12 +698,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :truncated_byte_count attr_accessor :truncated_byte_count
# The shortened string. For example, if the original string was 500 # The shortened string. For example, if the original string is 500
# bytes long and the limit of the string was 128 bytes, then this # bytes long and the limit of the string is 128 bytes, then
# value contains the first 128 bytes of the 500-byte string. Note that # `value` contains the first 128 bytes of the 500-byte string.
# truncation always happens on the character boundary, to ensure that # Truncation always happens on a UTF8 character boundary. If there
# truncated string is still valid UTF8. In case of multi-byte characters, # are multi-byte characters in the string, then the length of the
# size of truncated string can be less than truncation limit. # shortened string might be less than the size limit.
# Corresponds to the JSON property `value` # Corresponds to the JSON property `value`
# @return [String] # @return [String]
attr_accessor :value attr_accessor :value

View File

@ -22,10 +22,9 @@ module Google
module CloudtraceV2 module CloudtraceV2
# Stackdriver Trace API # Stackdriver Trace API
# #
# Send and retrieve trace data from Stackdriver Trace. Data is generated and # Sends application trace data to Stackdriver Trace for viewing. Trace data is
# available by default for all App Engine applications. Data from other # collected for all App Engine applications by default. Trace data from other
# applications can be written to Stackdriver Trace for display, reporting, and # applications can be provided using this API.
# analysis.
# #
# @example # @example
# require 'google/apis/cloudtrace_v2' # require 'google/apis/cloudtrace_v2'
@ -50,14 +49,11 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Sends new spans to Stackdriver Trace or updates existing traces. If the # Sends new spans to new or existing traces. You cannot update
# name of a trace that you send matches that of an existing trace, new spans # existing spans.
# are added to the existing trace. Attempt to update existing spans results
# undefined behavior. If the name does not match, a new trace is created
# with given set of spans.
# @param [String] name # @param [String] name
# Required. Name of the project where the spans belong. The format is # Required. The name of the project where the spans belong. The format is
# `projects/PROJECT_ID`. # `projects/[PROJECT_ID]`.
# @param [Google::Apis::CloudtraceV2::BatchWriteSpansRequest] batch_write_spans_request_object # @param [Google::Apis::CloudtraceV2::BatchWriteSpansRequest] batch_write_spans_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -88,13 +84,14 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates a new Span. # Creates a new span.
# @param [String] name # @param [String] name
# The resource name of the span in the following format: # The resource name of the span in the following format:
# projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique
# identifier for a trace within a project. # identifier for a trace within a project;
# [SPAN_ID] is a unique identifier for a span within a trace, # it is a 32-character hexadecimal encoding of a 16-byte array.
# assigned when the span is created. # [SPAN_ID] is a unique identifier for a span within a trace; it
# is a 16-character hexadecimal encoding of an 8-byte array.
# @param [Google::Apis::CloudtraceV2::Span] span_object # @param [Google::Apis::CloudtraceV2::Span] span_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -114,7 +111,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_trace_span(name, span_object = nil, fields: nil, quota_user: nil, options: nil, &block) def create_project_trace_span(name, span_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v2/{+name}', options) command = make_simple_command(:post, 'v2/{+name}/spans', options)
command.request_representation = Google::Apis::CloudtraceV2::Span::Representation command.request_representation = Google::Apis::CloudtraceV2::Span::Representation
command.request_object = span_object command.request_object = span_object
command.response_representation = Google::Apis::CloudtraceV2::Span::Representation command.response_representation = Google::Apis::CloudtraceV2::Span::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1 module ContainerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170922' REVISION = '20171030'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1368,7 +1368,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :status_message attr_accessor :status_message
# [Output only] The version of the Kubernetes of this node. # The version of the Kubernetes of this node.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [String] # @return [String]
attr_accessor :version attr_accessor :version

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1beta1 module ContainerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20171020' REVISION = '20171030'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1460,7 +1460,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :status_message attr_accessor :status_message
# [Output only] The version of the Kubernetes of this node. # The version of the Kubernetes of this node.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [String] # @return [String]
attr_accessor :version attr_accessor :version
@ -1759,6 +1759,57 @@ module Google
end end
end end
# SetAddonsRequest sets the addons associated with the cluster.
class SetAddonsConfigRequest
include Google::Apis::Core::Hashable
# Configuration for the addons that can be automatically spun up in the
# cluster, enabling additional functionality.
# Corresponds to the JSON property `addonsConfig`
# @return [Google::Apis::ContainerV1beta1::AddonsConfig]
attr_accessor :addons_config
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `clusterId`
# @return [String]
attr_accessor :cluster_id
# The name (project, location, cluster) of the cluster to set addons.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@addons_config = args[:addons_config] if args.key?(:addons_config)
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@zone = args[:zone] if args.key?(:zone)
end
end
# SetLabelsRequest sets the Google Cloud Platform labels on a Google Container # SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
# Engine cluster, which will in turn set them for Google Compute Engine # Engine cluster, which will in turn set them for Google Compute Engine
# resources used by that cluster # resources used by that cluster
@ -1874,6 +1925,61 @@ module Google
end end
end end
# SetLocationsRequest sets the locations of the cluster.
class SetLocationsRequest
include Google::Apis::Core::Hashable
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `clusterId`
# @return [String]
attr_accessor :cluster_id
# The desired list of Google Compute Engine
# [locations](/compute/docs/zones#available) in which the cluster's nodes
# should be located. Changing the locations a cluster is in will result
# in nodes being either created or removed from the cluster, depending on
# whether locations are being added or removed.
# This list must always include the cluster's primary zone.
# Corresponds to the JSON property `locations`
# @return [Array<String>]
attr_accessor :locations
# The name (project, location, cluster) of the cluster to set locations.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@locations = args[:locations] if args.key?(:locations)
@name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@zone = args[:zone] if args.key?(:zone)
end
end
# SetLoggingServiceRequest sets the logging service of a cluster. # SetLoggingServiceRequest sets the logging service of a cluster.
class SetLoggingServiceRequest class SetLoggingServiceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2032,6 +2138,59 @@ module Google
end end
end end
# SetMonitoringServiceRequest sets the monitoring service of a cluster.
class SetMonitoringServiceRequest
include Google::Apis::Core::Hashable
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `clusterId`
# @return [String]
attr_accessor :cluster_id
# The monitoring service the cluster should use to write metrics.
# Currently available options:
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service
# * "none" - no metrics will be exported from the cluster
# Corresponds to the JSON property `monitoringService`
# @return [String]
attr_accessor :monitoring_service
# The name (project, location, cluster) of the cluster to set monitoring.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
@name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@zone = args[:zone] if args.key?(:zone)
end
end
# SetNetworkPolicyRequest enables/disables network policy for a cluster. # SetNetworkPolicyRequest enables/disables network policy for a cluster.
class SetNetworkPolicyRequest class SetNetworkPolicyRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2084,6 +2243,65 @@ module Google
end end
end end
# SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
class SetNodePoolAutoscalingRequest
include Google::Apis::Core::Hashable
# NodePoolAutoscaling contains information required by cluster autoscaler to
# adjust the size of the node pool to the current cluster usage.
# Corresponds to the JSON property `autoscaling`
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
attr_accessor :autoscaling
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `clusterId`
# @return [String]
attr_accessor :cluster_id
# The name (project, location, cluster, node pool) of the node pool to set
# autoscaler settings. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The name of the node pool to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `nodePoolId`
# @return [String]
attr_accessor :node_pool_id
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@name = args[:name] if args.key?(:name)
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
@project_id = args[:project_id] if args.key?(:project_id)
@zone = args[:zone] if args.key?(:zone)
end
end
# SetNodePoolManagementRequest sets the node management properties of a node # SetNodePoolManagementRequest sets the node management properties of a node
# pool. # pool.
class SetNodePoolManagementRequest class SetNodePoolManagementRequest
@ -2240,6 +2458,122 @@ module Google
@zone = args[:zone] if args.key?(:zone) @zone = args[:zone] if args.key?(:zone)
end end
end end
# UpdateMasterRequest updates the master of the cluster.
class UpdateMasterRequest
include Google::Apis::Core::Hashable
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `clusterId`
# @return [String]
attr_accessor :cluster_id
# The Kubernetes version to change the master to. The only valid value is the
# latest supported version. Use "-" to have the server automatically select
# the latest version.
# Corresponds to the JSON property `masterVersion`
# @return [String]
attr_accessor :master_version
# The name (project, location, cluster) of the cluster to update.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@master_version = args[:master_version] if args.key?(:master_version)
@name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@zone = args[:zone] if args.key?(:zone)
end
end
# SetNodePoolVersionRequest updates the version of a node pool.
class UpdateNodePoolRequest
include Google::Apis::Core::Hashable
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `clusterId`
# @return [String]
attr_accessor :cluster_id
# The desired image type for the node pool.
# Corresponds to the JSON property `imageType`
# @return [String]
attr_accessor :image_type
# The name (project, location, cluster, node pool) of the node pool to update.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The name of the node pool to upgrade.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `nodePoolId`
# @return [String]
attr_accessor :node_pool_id
# The Kubernetes version to change the nodes to (typically an
# upgrade). Use `-` to upgrade to the latest version supported by
# the server.
# Corresponds to the JSON property `nodeVersion`
# @return [String]
attr_accessor :node_version
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@image_type = args[:image_type] if args.key?(:image_type)
@name = args[:name] if args.key?(:name)
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
@node_version = args[:node_version] if args.key?(:node_version)
@project_id = args[:project_id] if args.key?(:project_id)
@zone = args[:zone] if args.key?(:zone)
end
end
end end
end end
end end

View File

@ -232,6 +232,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SetAddonsConfigRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetLabelsRequest class SetLabelsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -244,6 +250,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SetLocationsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetLoggingServiceRequest class SetLoggingServiceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -262,12 +274,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SetMonitoringServiceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetNetworkPolicyRequest class SetNetworkPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SetNodePoolAutoscalingRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetNodePoolManagementRequest class SetNodePoolManagementRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -286,6 +310,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class UpdateMasterRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateNodePoolRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AcceleratorConfig class AcceleratorConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -688,6 +724,18 @@ module Google
end end
end end
class SetAddonsConfigRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetLabelsRequest class SetLabelsRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -711,6 +759,17 @@ module Google
end end
end end
class SetLocationsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
collection :locations, as: 'locations'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetLoggingServiceRequest class SetLoggingServiceRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -747,6 +806,17 @@ module Google
end end
end end
class SetMonitoringServiceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :monitoring_service, as: 'monitoringService'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetNetworkPolicyRequest class SetNetworkPolicyRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -759,6 +829,19 @@ module Google
end end
end end
class SetNodePoolAutoscalingRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :node_pool_id, as: 'nodePoolId'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class SetNodePoolManagementRequest class SetNodePoolManagementRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -793,6 +876,30 @@ module Google
property :zone, as: 'zone' property :zone, as: 'zone'
end end
end end
class UpdateMasterRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :master_version, as: 'masterVersion'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
class UpdateNodePoolRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster_id, as: 'clusterId'
property :image_type, as: 'imageType'
property :name, as: 'name'
property :node_pool_id, as: 'nodePoolId'
property :node_version, as: 'nodeVersion'
property :project_id, as: 'projectId'
property :zone, as: 'zone'
end
end
end end
end end
end end

View File

@ -309,6 +309,40 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the addons of a specific cluster.
# @param [String] name
# The name (project, location, cluster) of the cluster to set addons.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1beta1::SetAddonsConfigRequest] set_addons_config_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 set_cluster_addons_config(name, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setAddons', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetAddonsConfigRequest::Representation
command.request_object = set_addons_config_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Enables or disables the ABAC authorization mechanism on a cluster. # Enables or disables the ABAC authorization mechanism on a cluster.
# @param [String] name # @param [String] name
# The name (project, location, cluster id) of the cluster to set legacy abac. # The name (project, location, cluster id) of the cluster to set legacy abac.
@ -343,6 +377,40 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the locations of a specific cluster.
# @param [String] name
# The name (project, location, cluster) of the cluster to set locations.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1beta1::SetLocationsRequest] set_locations_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 set_cluster_locations(name, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setLocations', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLocationsRequest::Representation
command.request_object = set_locations_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the logging service of a specific cluster. # Sets the logging service of a specific cluster.
# @param [String] name # @param [String] name
# The name (project, location, cluster) of the cluster to set logging. # The name (project, location, cluster) of the cluster to set logging.
@ -449,6 +517,40 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the monitoring service of a specific cluster.
# @param [String] name
# The name (project, location, cluster) of the cluster to set monitoring.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest] set_monitoring_service_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 set_cluster_monitoring_service(name, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setMonitoring', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest::Representation
command.request_object = set_monitoring_service_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Enables/Disables Network Policy for a cluster. # Enables/Disables Network Policy for a cluster.
# @param [String] name # @param [String] name
# The name (project, location, cluster id) of the cluster to set networking # The name (project, location, cluster id) of the cluster to set networking
@ -586,6 +688,40 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the master of a specific cluster.
# @param [String] name
# The name (project, location, cluster) of the cluster to update.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1beta1::UpdateMasterRequest] update_master_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 update_cluster_master(name, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:updateMaster', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateMasterRequest::Representation
command.request_object = update_master_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a node pool for a cluster. # Creates a node pool for a cluster.
# @param [String] parent # @param [String] parent
# The parent (project, location, cluster id) where the node pool will be created. # The parent (project, location, cluster id) where the node pool will be created.
@ -802,6 +938,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the autoscaling settings of a specific node pool.
# @param [String] name
# The name (project, location, cluster, node pool) of the node pool to set
# autoscaler settings. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 set_project_location_cluster_node_pool_autoscaling(name, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/{+name}:setAutoscaling', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest::Representation
command.request_object = set_node_pool_autoscaling_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the NodeManagement options for a node pool. # Sets the NodeManagement options for a node pool.
# @param [String] name # @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to set # The name (project, location, cluster, node pool id) of the node pool to set
@ -837,6 +1008,40 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the version and/or iamge type of a specific node pool.
# @param [String] name
# The name (project, location, cluster, node pool) of the node pool to update.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 update_project_location_cluster_node_pool(name, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'v1beta1/{+name}', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateNodePoolRequest::Representation
command.request_object = update_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Cancels the specified operation. # Cancels the specified operation.
# @param [String] name # @param [String] name
# The name (project, location, operation id) of the operation to cancel. # The name (project, location, operation id) of the operation to cancel.
@ -1000,6 +1205,51 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the addons of a specific cluster.
# @param [String] project_id
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# @param [String] zone
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# @param [String] cluster_id
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# @param [Google::Apis::ContainerV1beta1::SetAddonsConfigRequest] set_addons_config_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 addons_project_zone_cluster(project_id, zone, cluster_id, set_addons_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetAddonsConfigRequest::Representation
command.request_object = set_addons_config_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
command.params['zone'] = zone unless zone.nil?
command.params['clusterId'] = cluster_id unless cluster_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Completes master IP rotation. # Completes master IP rotation.
# @param [String] project_id # @param [String] project_id
# The Google Developers Console [project ID or project # The Google Developers Console [project ID or project
@ -1282,6 +1532,51 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the locations of a specific cluster.
# @param [String] project_id
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# @param [String] zone
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# @param [String] cluster_id
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# @param [Google::Apis::ContainerV1beta1::SetLocationsRequest] set_locations_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 locations_project_zone_cluster(project_id, zone, cluster_id, set_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetLocationsRequest::Representation
command.request_object = set_locations_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
command.params['zone'] = zone unless zone.nil?
command.params['clusterId'] = cluster_id unless cluster_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the logging service of a specific cluster. # Sets the logging service of a specific cluster.
# @param [String] project_id # @param [String] project_id
# The Google Developers Console [project ID or project # The Google Developers Console [project ID or project
@ -1326,6 +1621,95 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the master of a specific cluster.
# @param [String] project_id
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# @param [String] zone
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# @param [String] cluster_id
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# @param [Google::Apis::ContainerV1beta1::UpdateMasterRequest] update_master_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 master_project_zone_cluster(project_id, zone, cluster_id, update_master_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateMasterRequest::Representation
command.request_object = update_master_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
command.params['zone'] = zone unless zone.nil?
command.params['clusterId'] = cluster_id unless cluster_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets the monitoring service of a specific cluster.
# @param [String] project_id
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# @param [String] zone
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# @param [String] cluster_id
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# @param [Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest] set_monitoring_service_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 monitoring_project_zone_cluster(project_id, zone, cluster_id, set_monitoring_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest::Representation
command.request_object = set_monitoring_service_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
command.params['zone'] = zone unless zone.nil?
command.params['clusterId'] = cluster_id unless cluster_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Sets labels on a cluster. # Sets labels on a cluster.
# @param [String] project_id # @param [String] project_id
# The Google Developers Console [project ID or project # The Google Developers Console [project ID or project
@ -1596,6 +1980,55 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Sets the autoscaling settings of a specific node pool.
# @param [String] project_id
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# @param [String] zone
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# @param [String] cluster_id
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# @param [String] node_pool_id
# The name of the node pool to upgrade.
# This field is deprecated, use name instead.
# @param [Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 autoscaling_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, set_node_pool_autoscaling_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling', options)
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest::Representation
command.request_object = set_node_pool_autoscaling_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
command.params['zone'] = zone unless zone.nil?
command.params['clusterId'] = cluster_id unless cluster_id.nil?
command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a node pool for a cluster. # Creates a node pool for a cluster.
# @param [String] project_id # @param [String] project_id
# The Google Developers Console [project ID or project # The Google Developers Console [project ID or project
@ -1886,6 +2319,55 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the version and/or iamge type of a specific node pool.
# @param [String] project_id
# The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840).
# This field is deprecated, use name instead.
# @param [String] zone
# The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
# This field is deprecated, use name instead.
# @param [String] cluster_id
# The name of the cluster to upgrade.
# This field is deprecated, use name instead.
# @param [String] node_pool_id
# The name of the node pool to upgrade.
# This field is deprecated, use name instead.
# @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::Operation]
#
# @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 update_project_zone_cluster_node_pool(project_id, zone, cluster_id, node_pool_id, update_node_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update', options)
command.request_representation = Google::Apis::ContainerV1beta1::UpdateNodePoolRequest::Representation
command.request_object = update_node_pool_request_object
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
command.response_class = Google::Apis::ContainerV1beta1::Operation
command.params['projectId'] = project_id unless project_id.nil?
command.params['zone'] = zone unless zone.nil?
command.params['clusterId'] = cluster_id unless cluster_id.nil?
command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Cancels the specified operation. # Cancels the specified operation.
# @param [String] project_id # @param [String] project_id
# The Google Developers Console [project ID or project # The Google Developers Console [project ID or project

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/ # @see https://cloud.google.com/deployment-manager/
module DeploymentmanagerAlpha module DeploymentmanagerAlpha
VERSION = 'Alpha' VERSION = 'Alpha'
REVISION = '20171025' REVISION = '20171102'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -273,7 +273,8 @@ module Google
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CompositeTypeLabelEntry>] # @return [Array<Google::Apis::DeploymentmanagerAlpha::CompositeTypeLabelEntry>]
attr_accessor :labels attr_accessor :labels
# Name of the composite type. # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]`0,61`
# [a-z0-9])?.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/deployment-manager/ # @see https://developers.google.com/deployment-manager/
module DeploymentmanagerV2beta module DeploymentmanagerV2beta
VERSION = 'V2beta' VERSION = 'V2beta'
REVISION = '20171025' REVISION = '20171102'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -286,7 +286,8 @@ module Google
# @return [Array<Google::Apis::DeploymentmanagerV2beta::CompositeTypeLabelEntry>] # @return [Array<Google::Apis::DeploymentmanagerV2beta::CompositeTypeLabelEntry>]
attr_accessor :labels attr_accessor :labels
# Name of the composite type. # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]`0,61`
# [a-z0-9])?.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/dynamic-links/ # @see https://firebase.google.com/docs/dynamic-links/
module FirebasedynamiclinksV1 module FirebasedynamiclinksV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171010' REVISION = '20171108'
# View and administer all your Firebase data and settings # View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'

View File

@ -186,6 +186,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :language_code attr_accessor :language_code
# Device language code raw setting.
# iOS does returns language code in different format than iOS WebView.
# For example WebView returns en_US, but iOS returns en-US.
# Field below will return raw value returned by iOS.
# Corresponds to the JSON property `languageCodeRaw`
# @return [String]
attr_accessor :language_code_raw
# Device display resolution height. # Device display resolution height.
# Corresponds to the JSON property `screenResolutionHeight` # Corresponds to the JSON property `screenResolutionHeight`
# @return [Fixnum] # @return [Fixnum]
@ -209,6 +217,7 @@ module Google
def update!(**args) def update!(**args)
@device_model_name = args[:device_model_name] if args.key?(:device_model_name) @device_model_name = args[:device_model_name] if args.key?(:device_model_name)
@language_code = args[:language_code] if args.key?(:language_code) @language_code = args[:language_code] if args.key?(:language_code)
@language_code_raw = args[:language_code_raw] if args.key?(:language_code_raw)
@screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height) @screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height)
@screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width) @screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width)
@timezone = args[:timezone] if args.key?(:timezone) @timezone = args[:timezone] if args.key?(:timezone)

View File

@ -183,6 +183,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :device_model_name, as: 'deviceModelName' property :device_model_name, as: 'deviceModelName'
property :language_code, as: 'languageCode' property :language_code, as: 'languageCode'
property :language_code_raw, as: 'languageCodeRaw'
property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight' property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight'
property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth' property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth'
property :timezone, as: 'timezone' property :timezone, as: 'timezone'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Cloud OS Login API # Google Cloud OS Login API
# #
# Manages OS login configuration for Directory API users. # Manages OS login configuration for Google account users.
# #
# @see https://cloud.google.com/compute/docs/oslogin/rest/ # @see https://cloud.google.com/compute/docs/oslogin/rest/
module OsloginV1alpha module OsloginV1alpha
VERSION = 'V1alpha' VERSION = 'V1alpha'
REVISION = '20171031' REVISION = '20171108'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,7 @@ module Google
module OsloginV1alpha module OsloginV1alpha
# Google Cloud OS Login API # Google Cloud OS Login API
# #
# Manages OS login configuration for Directory API users. # Manages OS login configuration for Google account users.
# #
# @example # @example
# require 'google/apis/oslogin_v1alpha' # require 'google/apis/oslogin_v1alpha'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Cloud OS Login API # Google Cloud OS Login API
# #
# Manages OS login configuration for Directory API users. # Manages OS login configuration for Google account users.
# #
# @see https://cloud.google.com/compute/docs/oslogin/rest/ # @see https://cloud.google.com/compute/docs/oslogin/rest/
module OsloginV1beta module OsloginV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20171031' REVISION = '20171108'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,7 +22,7 @@ module Google
module OsloginV1beta module OsloginV1beta
# Google Cloud OS Login API # Google Cloud OS Login API
# #
# Manages OS login configuration for Directory API users. # Manages OS login configuration for Google account users.
# #
# @example # @example
# require 'google/apis/oslogin_v1beta' # require 'google/apis/oslogin_v1beta'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/ # @see https://developers.google.com/people/
module PeopleV1 module PeopleV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170909' REVISION = '20171108'
# Manage your contacts # Manage your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -833,6 +833,7 @@ module Google
end end
# One of the person's interests. # One of the person's interests.
# **DEPRECATED** (Message will not be returned.)
class Interest class Interest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1388,6 +1389,7 @@ module Google
attr_accessor :im_clients attr_accessor :im_clients
# The person's interests. # The person's interests.
# **DEPRECATED** (No values will be returned.)
# Corresponds to the JSON property `interests` # Corresponds to the JSON property `interests`
# @return [Array<Google::Apis::PeopleV1::Interest>] # @return [Array<Google::Apis::PeopleV1::Interest>]
attr_accessor :interests attr_accessor :interests

View File

@ -375,7 +375,6 @@ module Google
# * events # * events
# * genders # * genders
# * imClients # * imClients
# * interests
# * locales # * locales
# * memberships # * memberships
# * metadata # * metadata
@ -443,7 +442,6 @@ module Google
# * events # * events
# * genders # * genders
# * imClients # * imClients
# * interests
# * locales # * locales
# * memberships # * memberships
# * metadata # * metadata
@ -529,7 +527,6 @@ module Google
# * events # * events
# * genders # * genders
# * imClients # * imClients
# * interests
# * locales # * locales
# * names # * names
# * nicknames # * nicknames
@ -594,7 +591,6 @@ module Google
# * events # * events
# * genders # * genders
# * imClients # * imClients
# * interests
# * locales # * locales
# * memberships # * memberships
# * metadata # * metadata

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/ # @see https://cloud.google.com/service-management/
module ServicemanagementV1 module ServicemanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171013' REVISION = '20171108'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1307,13 +1307,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of APIs served by this endpoint.
# If no APIs are specified this translates to "all APIs" exported by the
# service, as defined in the top-level service configuration.
# Corresponds to the JSON property `apis`
# @return [Array<String>]
attr_accessor :apis
# The list of features enabled on this endpoint. # The list of features enabled on this endpoint.
# Corresponds to the JSON property `features` # Corresponds to the JSON property `features`
# @return [Array<String>] # @return [Array<String>]
@ -1341,7 +1334,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@apis = args[:apis] if args.key?(:apis)
@features = args[:features] if args.key?(:features) @features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)

View File

@ -861,7 +861,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :apis, as: 'apis'
collection :features, as: 'features' collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/ # @see https://cloud.google.com/service-management/
module ServiceuserV1 module ServiceuserV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171013' REVISION = '20171108'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -881,13 +881,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of APIs served by this endpoint.
# If no APIs are specified this translates to "all APIs" exported by the
# service, as defined in the top-level service configuration.
# Corresponds to the JSON property `apis`
# @return [Array<String>]
attr_accessor :apis
# The list of features enabled on this endpoint. # The list of features enabled on this endpoint.
# Corresponds to the JSON property `features` # Corresponds to the JSON property `features`
# @return [Array<String>] # @return [Array<String>]
@ -915,7 +908,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@apis = args[:apis] if args.key?(:apis)
@features = args[:features] if args.key?(:features) @features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)

View File

@ -602,7 +602,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :apis, as: 'apis'
collection :features, as: 'features' collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171030' REVISION = '20171106'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'