Add youtube partner API, regenerate APIs
This commit is contained in:
parent
801056e208
commit
f7bbb050cc
|
@ -8,6 +8,7 @@
|
||||||
"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list": list_account_ad_clients
|
"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list": list_account_ad_clients
|
||||||
"/adexchangebuyer:v1.4/adexchangebuyer.proposals.setupcomplete": proposal_setup_complete
|
"/adexchangebuyer:v1.4/adexchangebuyer.proposals.setupcomplete": proposal_setup_complete
|
||||||
"/adexchangebuyer:v1.4/adexchangebuyer.pubprofiles.list": list_pub_profiles
|
"/adexchangebuyer:v1.4/adexchangebuyer.pubprofiles.list": list_pub_profiles
|
||||||
|
"/adexchangebuyer:v1.4/adexchangebuyer.marketplaceprivateauction.updateproposal": update_marketplace_private_auction_proposal
|
||||||
"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get": get_account_custom_channel
|
"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get": get_account_custom_channel
|
||||||
"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list": list_account_custom_channels
|
"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list": list_account_custom_channels
|
||||||
"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list": list_account_metadata_dimensions
|
"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list": list_account_metadata_dimensions
|
||||||
|
@ -837,6 +838,8 @@
|
||||||
"/genomics:v1beta2/genomics.references.bases.list/start": start_position
|
"/genomics:v1beta2/genomics.references.bases.list/start": start_position
|
||||||
"/genomics:v1beta2/genomics.referencesets.get": get_reference_set
|
"/genomics:v1beta2/genomics.referencesets.get": get_reference_set
|
||||||
"/genomics:v1beta2/genomics.streamingReadstore.streamreads": stream_reads
|
"/genomics:v1beta2/genomics.streamingReadstore.streamreads": stream_reads
|
||||||
|
"/genomics:v1/genomics.annotationsets.create": create_annotation_set
|
||||||
|
"/genomics:v1/genomics.annotationsets.get": get_annotation_set
|
||||||
"/genomics:v1/genomics.callsets.create": create_call_set
|
"/genomics:v1/genomics.callsets.create": create_call_set
|
||||||
"/genomics:v1/genomics.callsets.delete": delete_call_set
|
"/genomics:v1/genomics.callsets.delete": delete_call_set
|
||||||
"/genomics:v1/genomics.callsets.get": get_call_set
|
"/genomics:v1/genomics.callsets.get": get_call_set
|
||||||
|
|
1078
api_names_out.yaml
1078
api_names_out.yaml
File diff suppressed because it is too large
Load Diff
|
@ -32,7 +32,7 @@ module Google
|
||||||
Google::Apis.logger.level = Logger::DEBUG if options[:verbose]
|
Google::Apis.logger.level = Logger::DEBUG if options[:verbose]
|
||||||
generate_from_url(options[:url]) if options[:url]
|
generate_from_url(options[:url]) if options[:url]
|
||||||
generate_from_file(options[:file]) if options[:file]
|
generate_from_file(options[:file]) if options[:file]
|
||||||
generate_from_discovery(preferred_only: options[:preferred_only], id: options[:id] ) if options[:from_discovery]
|
generate_from_discovery(preferred_only: options[:preferred_only], id: options[:id] ) if options[:id] || options[:from_discovery]
|
||||||
create_file(options[:names_out]) { |*| generator.dump_api_names } if options[:names_out]
|
create_file(options[:names_out]) { |*| generator.dump_api_names } if options[:names_out]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/ad-exchange/buyer-rest
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
||||||
module AdexchangebuyerV1_4
|
module AdexchangebuyerV1_4
|
||||||
VERSION = 'V1_4'
|
VERSION = 'V1_4'
|
||||||
REVISION = '20160229'
|
REVISION = '20160405'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1126,6 +1126,12 @@ module Google
|
||||||
# @return [Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms]
|
# @return [Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms]
|
||||||
attr_accessor :non_guaranteed_fixed_price_terms
|
attr_accessor :non_guaranteed_fixed_price_terms
|
||||||
|
|
||||||
|
# For deals with Cost Per Day billing, defines the timezone used to mark the
|
||||||
|
# boundaries of a day (buyer-readonly)
|
||||||
|
# Corresponds to the JSON property `sellerTimeZone`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :seller_time_zone
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -1139,6 +1145,7 @@ module Google
|
||||||
@guaranteed_fixed_price_terms = args[:guaranteed_fixed_price_terms] if args.key?(:guaranteed_fixed_price_terms)
|
@guaranteed_fixed_price_terms = args[:guaranteed_fixed_price_terms] if args.key?(:guaranteed_fixed_price_terms)
|
||||||
@non_guaranteed_auction_terms = args[:non_guaranteed_auction_terms] if args.key?(:non_guaranteed_auction_terms)
|
@non_guaranteed_auction_terms = args[:non_guaranteed_auction_terms] if args.key?(:non_guaranteed_auction_terms)
|
||||||
@non_guaranteed_fixed_price_terms = args[:non_guaranteed_fixed_price_terms] if args.key?(:non_guaranteed_fixed_price_terms)
|
@non_guaranteed_fixed_price_terms = args[:non_guaranteed_fixed_price_terms] if args.key?(:non_guaranteed_fixed_price_terms)
|
||||||
|
@seller_time_zone = args[:seller_time_zone] if args.key?(:seller_time_zone)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1338,6 +1345,58 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# This message carries publisher provided breakdown. E.g. `dimension_type: '
|
||||||
|
# COUNTRY', [`dimension_value: `id: 1, name: 'US'``, `dimension_value: `id: 2,
|
||||||
|
# name: 'UK'``]`
|
||||||
|
class Dimension
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `dimensionType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :dimension_type
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `dimensionValues`
|
||||||
|
# @return [Array<Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue>]
|
||||||
|
attr_accessor :dimension_values
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@dimension_type = args[:dimension_type] if args.key?(:dimension_type)
|
||||||
|
@dimension_values = args[:dimension_values] if args.key?(:dimension_values)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Value of the dimension.
|
||||||
|
class DimensionDimensionValue
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Id of the dimension.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# Name of the dimension mainly for debugging purposes.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class EditAllOrderDealsRequest
|
class EditAllOrderDealsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1956,10 +2015,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The configuration data for an Ad Exchange performance report list. https://
|
# The configuration data for an Ad Exchange performance report list.
|
||||||
# sites.google.com/a/google.com/adx-integration/Home/engineering/binary-releases/
|
|
||||||
# rtb-api-release https://cs.corp.google.com/#piper///depot/google3/contentads/
|
|
||||||
# adx/tools/rtb_api/adxrtb.py
|
|
||||||
class PerformanceReportList
|
class PerformanceReportList
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -2470,6 +2526,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :product_id
|
attr_accessor :product_id
|
||||||
|
|
||||||
|
# Id of the publisher profile for a given seller. A (seller.account_id,
|
||||||
|
# publisher_profile_id) pair uniquely identifies a publisher profile. Buyers can
|
||||||
|
# call the PublisherProfiles::List endpoint to get a list of publisher profiles
|
||||||
|
# for a given seller.
|
||||||
|
# Corresponds to the JSON property `publisherProfileId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :publisher_profile_id
|
||||||
|
|
||||||
# The revision number of the product. (readonly)
|
# The revision number of the product. (readonly)
|
||||||
# Corresponds to the JSON property `revisionNumber`
|
# Corresponds to the JSON property `revisionNumber`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -2503,7 +2567,8 @@ module Google
|
||||||
# @return [Google::Apis::AdexchangebuyerV1_4::DealTerms]
|
# @return [Google::Apis::AdexchangebuyerV1_4::DealTerms]
|
||||||
attr_accessor :terms
|
attr_accessor :terms
|
||||||
|
|
||||||
#
|
# The web property code for the seller. This field is meant to be copied over as
|
||||||
|
# is when creating deals.
|
||||||
# Corresponds to the JSON property `webPropertyCode`
|
# Corresponds to the JSON property `webPropertyCode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :web_property_code
|
attr_accessor :web_property_code
|
||||||
|
@ -2528,6 +2593,7 @@ module Google
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id)
|
@private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id)
|
||||||
@product_id = args[:product_id] if args.key?(:product_id)
|
@product_id = args[:product_id] if args.key?(:product_id)
|
||||||
|
@publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
|
||||||
@revision_number = args[:revision_number] if args.key?(:revision_number)
|
@revision_number = args[:revision_number] if args.key?(:revision_number)
|
||||||
@seller = args[:seller] if args.key?(:seller)
|
@seller = args[:seller] if args.key?(:seller)
|
||||||
@shared_targetings = args[:shared_targetings] if args.key?(:shared_targetings)
|
@shared_targetings = args[:shared_targetings] if args.key?(:shared_targetings)
|
||||||
|
@ -2710,11 +2776,31 @@ module Google
|
||||||
class PublisherProfileApiProto
|
class PublisherProfileApiProto
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The account id of the seller.
|
||||||
|
# Corresponds to the JSON property `accountId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :account_id
|
||||||
|
|
||||||
|
# Publisher provided info on its audience.
|
||||||
|
# Corresponds to the JSON property `audience`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :audience
|
||||||
|
|
||||||
# A pitch statement for the buyer
|
# A pitch statement for the buyer
|
||||||
# Corresponds to the JSON property `buyerPitchStatement`
|
# Corresponds to the JSON property `buyerPitchStatement`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :buyer_pitch_statement
|
attr_accessor :buyer_pitch_statement
|
||||||
|
|
||||||
|
# Direct contact for the publisher profile.
|
||||||
|
# Corresponds to the JSON property `directContact`
|
||||||
|
# @return [Google::Apis::AdexchangebuyerV1_4::ContactInformation]
|
||||||
|
attr_accessor :direct_contact
|
||||||
|
|
||||||
|
# Exchange where this publisher profile is from. E.g. AdX, Rubicon etc...
|
||||||
|
# Corresponds to the JSON property `exchange`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :exchange
|
||||||
|
|
||||||
# Link to publisher's Google+ page.
|
# Link to publisher's Google+ page.
|
||||||
# Corresponds to the JSON property `googlePlusLink`
|
# Corresponds to the JSON property `googlePlusLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -2727,6 +2813,12 @@ module Google
|
||||||
attr_accessor :is_parent
|
attr_accessor :is_parent
|
||||||
alias_method :is_parent?, :is_parent
|
alias_method :is_parent?, :is_parent
|
||||||
|
|
||||||
|
# True, if this profile is published. Deprecated for state.
|
||||||
|
# Corresponds to the JSON property `isPublished`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_published
|
||||||
|
alias_method :is_published?, :is_published
|
||||||
|
|
||||||
# Identifies what kind of resource this is. Value: the fixed string "
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
# adexchangebuyer#publisherProfileApiProto".
|
# adexchangebuyer#publisherProfileApiProto".
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
|
@ -2753,17 +2845,33 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :overview
|
attr_accessor :overview
|
||||||
|
|
||||||
# Unique id for the publisher profile
|
# The pair of (seller.account_id, profile_id) uniquely identifies a publisher
|
||||||
|
# profile for a given publisher.
|
||||||
# Corresponds to the JSON property `profileId`
|
# Corresponds to the JSON property `profileId`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :profile_id
|
attr_accessor :profile_id
|
||||||
|
|
||||||
|
# Programmatic contact for the publisher profile.
|
||||||
|
# Corresponds to the JSON property `programmaticContact`
|
||||||
|
# @return [Google::Apis::AdexchangebuyerV1_4::ContactInformation]
|
||||||
|
attr_accessor :programmatic_contact
|
||||||
|
|
||||||
# The list of domains represented in this publisher profile. Empty if this is a
|
# The list of domains represented in this publisher profile. Empty if this is a
|
||||||
# parent profile.
|
# parent profile.
|
||||||
# Corresponds to the JSON property `publisherDomains`
|
# Corresponds to the JSON property `publisherDomains`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :publisher_domains
|
attr_accessor :publisher_domains
|
||||||
|
|
||||||
|
# Unique Id for publisher profile.
|
||||||
|
# Corresponds to the JSON property `publisherProfileId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :publisher_profile_id
|
||||||
|
|
||||||
|
# This message carries publisher provided forecasting information.
|
||||||
|
# Corresponds to the JSON property `publisherProvidedForecast`
|
||||||
|
# @return [Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast]
|
||||||
|
attr_accessor :publisher_provided_forecast
|
||||||
|
|
||||||
# Link to publisher rate card
|
# Link to publisher rate card
|
||||||
# Corresponds to the JSON property `rateCardInfoLink`
|
# Corresponds to the JSON property `rateCardInfoLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -2774,6 +2882,16 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :sample_page_link
|
attr_accessor :sample_page_link
|
||||||
|
|
||||||
|
# Seller of the publisher profile.
|
||||||
|
# Corresponds to the JSON property `seller`
|
||||||
|
# @return [Google::Apis::AdexchangebuyerV1_4::Seller]
|
||||||
|
attr_accessor :seller
|
||||||
|
|
||||||
|
# State of the publisher profile.
|
||||||
|
# Corresponds to the JSON property `state`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :state
|
||||||
|
|
||||||
# Publisher provided key metrics and rankings.
|
# Publisher provided key metrics and rankings.
|
||||||
# Corresponds to the JSON property `topHeadlines`
|
# Corresponds to the JSON property `topHeadlines`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -2785,22 +2903,63 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@account_id = args[:account_id] if args.key?(:account_id)
|
||||||
|
@audience = args[:audience] if args.key?(:audience)
|
||||||
@buyer_pitch_statement = args[:buyer_pitch_statement] if args.key?(:buyer_pitch_statement)
|
@buyer_pitch_statement = args[:buyer_pitch_statement] if args.key?(:buyer_pitch_statement)
|
||||||
|
@direct_contact = args[:direct_contact] if args.key?(:direct_contact)
|
||||||
|
@exchange = args[:exchange] if args.key?(:exchange)
|
||||||
@google_plus_link = args[:google_plus_link] if args.key?(:google_plus_link)
|
@google_plus_link = args[:google_plus_link] if args.key?(:google_plus_link)
|
||||||
@is_parent = args[:is_parent] if args.key?(:is_parent)
|
@is_parent = args[:is_parent] if args.key?(:is_parent)
|
||||||
|
@is_published = args[:is_published] if args.key?(:is_published)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@logo_url = args[:logo_url] if args.key?(:logo_url)
|
@logo_url = args[:logo_url] if args.key?(:logo_url)
|
||||||
@media_kit_link = args[:media_kit_link] if args.key?(:media_kit_link)
|
@media_kit_link = args[:media_kit_link] if args.key?(:media_kit_link)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@overview = args[:overview] if args.key?(:overview)
|
@overview = args[:overview] if args.key?(:overview)
|
||||||
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
||||||
|
@programmatic_contact = args[:programmatic_contact] if args.key?(:programmatic_contact)
|
||||||
@publisher_domains = args[:publisher_domains] if args.key?(:publisher_domains)
|
@publisher_domains = args[:publisher_domains] if args.key?(:publisher_domains)
|
||||||
|
@publisher_profile_id = args[:publisher_profile_id] if args.key?(:publisher_profile_id)
|
||||||
|
@publisher_provided_forecast = args[:publisher_provided_forecast] if args.key?(:publisher_provided_forecast)
|
||||||
@rate_card_info_link = args[:rate_card_info_link] if args.key?(:rate_card_info_link)
|
@rate_card_info_link = args[:rate_card_info_link] if args.key?(:rate_card_info_link)
|
||||||
@sample_page_link = args[:sample_page_link] if args.key?(:sample_page_link)
|
@sample_page_link = args[:sample_page_link] if args.key?(:sample_page_link)
|
||||||
|
@seller = args[:seller] if args.key?(:seller)
|
||||||
|
@state = args[:state] if args.key?(:state)
|
||||||
@top_headlines = args[:top_headlines] if args.key?(:top_headlines)
|
@top_headlines = args[:top_headlines] if args.key?(:top_headlines)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# This message carries publisher provided forecasting information.
|
||||||
|
class PublisherProvidedForecast
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Publisher provided dimensions. E.g. geo, sizes etc...
|
||||||
|
# Corresponds to the JSON property `dimensions`
|
||||||
|
# @return [Array<Google::Apis::AdexchangebuyerV1_4::Dimension>]
|
||||||
|
attr_accessor :dimensions
|
||||||
|
|
||||||
|
# Publisher provided weekly impressions.
|
||||||
|
# Corresponds to the JSON property `weeklyImpressions`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :weekly_impressions
|
||||||
|
|
||||||
|
# Publisher provided weekly uniques.
|
||||||
|
# Corresponds to the JSON property `weeklyUniques`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :weekly_uniques
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
||||||
|
@weekly_impressions = args[:weekly_impressions] if args.key?(:weekly_impressions)
|
||||||
|
@weekly_uniques = args[:weekly_uniques] if args.key?(:weekly_uniques)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class Seller
|
class Seller
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -3020,6 +3179,44 @@ module Google
|
||||||
@width = args[:width] if args.key?(:width)
|
@width = args[:width] if args.key?(:width)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class UpdatePrivateAuctionProposalRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The externalDealId of the deal to be updated.
|
||||||
|
# Corresponds to the JSON property `externalDealId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :external_deal_id
|
||||||
|
|
||||||
|
# A proposal is associated with a bunch of notes which may optionally be
|
||||||
|
# associated with a deal and/or revision number.
|
||||||
|
# Corresponds to the JSON property `note`
|
||||||
|
# @return [Google::Apis::AdexchangebuyerV1_4::MarketplaceNote]
|
||||||
|
attr_accessor :note
|
||||||
|
|
||||||
|
# The current revision number of the proposal to be updated.
|
||||||
|
# Corresponds to the JSON property `proposalRevisionNumber`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :proposal_revision_number
|
||||||
|
|
||||||
|
# The proposed action on the private auction proposal.
|
||||||
|
# Corresponds to the JSON property `updateAction`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :update_action
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@external_deal_id = args[:external_deal_id] if args.key?(:external_deal_id)
|
||||||
|
@note = args[:note] if args.key?(:note)
|
||||||
|
@proposal_revision_number = args[:proposal_revision_number] if args.key?(:proposal_revision_number)
|
||||||
|
@update_action = args[:update_action] if args.key?(:update_action)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -238,6 +238,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Dimension
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class DimensionDimensionValue
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class EditAllOrderDealsRequest
|
class EditAllOrderDealsRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -388,6 +400,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PublisherProvidedForecast
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Seller
|
class Seller
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -430,6 +448,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UpdatePrivateAuctionProposalRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Account
|
class Account
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -740,6 +764,7 @@ module Google
|
||||||
|
|
||||||
property :non_guaranteed_fixed_price_terms, as: 'nonGuaranteedFixedPriceTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms::Representation
|
property :non_guaranteed_fixed_price_terms, as: 'nonGuaranteedFixedPriceTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms::Representation
|
||||||
|
|
||||||
|
property :seller_time_zone, as: 'sellerTimeZone'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -807,6 +832,23 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Dimension
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :dimension_type, as: 'dimensionType'
|
||||||
|
collection :dimension_values, as: 'dimensionValues', class: Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue, decorator: Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DimensionDimensionValue
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class EditAllOrderDealsRequest
|
class EditAllOrderDealsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1098,6 +1140,7 @@ module Google
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :private_auction_id, as: 'privateAuctionId'
|
property :private_auction_id, as: 'privateAuctionId'
|
||||||
property :product_id, as: 'productId'
|
property :product_id, as: 'productId'
|
||||||
|
property :publisher_profile_id, as: 'publisherProfileId'
|
||||||
property :revision_number, as: 'revisionNumber'
|
property :revision_number, as: 'revisionNumber'
|
||||||
property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation
|
property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation
|
||||||
|
|
||||||
|
@ -1150,22 +1193,46 @@ module Google
|
||||||
class PublisherProfileApiProto
|
class PublisherProfileApiProto
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :account_id, as: 'accountId'
|
||||||
|
property :audience, as: 'audience'
|
||||||
property :buyer_pitch_statement, as: 'buyerPitchStatement'
|
property :buyer_pitch_statement, as: 'buyerPitchStatement'
|
||||||
|
property :direct_contact, as: 'directContact', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation
|
||||||
|
|
||||||
|
property :exchange, as: 'exchange'
|
||||||
property :google_plus_link, as: 'googlePlusLink'
|
property :google_plus_link, as: 'googlePlusLink'
|
||||||
property :is_parent, as: 'isParent'
|
property :is_parent, as: 'isParent'
|
||||||
|
property :is_published, as: 'isPublished'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :logo_url, as: 'logoUrl'
|
property :logo_url, as: 'logoUrl'
|
||||||
property :media_kit_link, as: 'mediaKitLink'
|
property :media_kit_link, as: 'mediaKitLink'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :overview, as: 'overview'
|
property :overview, as: 'overview'
|
||||||
property :profile_id, as: 'profileId'
|
property :profile_id, as: 'profileId'
|
||||||
|
property :programmatic_contact, as: 'programmaticContact', class: Google::Apis::AdexchangebuyerV1_4::ContactInformation, decorator: Google::Apis::AdexchangebuyerV1_4::ContactInformation::Representation
|
||||||
|
|
||||||
collection :publisher_domains, as: 'publisherDomains'
|
collection :publisher_domains, as: 'publisherDomains'
|
||||||
|
property :publisher_profile_id, as: 'publisherProfileId'
|
||||||
|
property :publisher_provided_forecast, as: 'publisherProvidedForecast', class: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast, decorator: Google::Apis::AdexchangebuyerV1_4::PublisherProvidedForecast::Representation
|
||||||
|
|
||||||
property :rate_card_info_link, as: 'rateCardInfoLink'
|
property :rate_card_info_link, as: 'rateCardInfoLink'
|
||||||
property :sample_page_link, as: 'samplePageLink'
|
property :sample_page_link, as: 'samplePageLink'
|
||||||
|
property :seller, as: 'seller', class: Google::Apis::AdexchangebuyerV1_4::Seller, decorator: Google::Apis::AdexchangebuyerV1_4::Seller::Representation
|
||||||
|
|
||||||
|
property :state, as: 'state'
|
||||||
collection :top_headlines, as: 'topHeadlines'
|
collection :top_headlines, as: 'topHeadlines'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PublisherProvidedForecast
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :dimensions, as: 'dimensions', class: Google::Apis::AdexchangebuyerV1_4::Dimension, decorator: Google::Apis::AdexchangebuyerV1_4::Dimension::Representation
|
||||||
|
|
||||||
|
property :weekly_impressions, as: 'weeklyImpressions'
|
||||||
|
property :weekly_uniques, as: 'weeklyUniques'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Seller
|
class Seller
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1235,6 +1302,17 @@ module Google
|
||||||
property :width, as: 'width'
|
property :width, as: 'width'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class UpdatePrivateAuctionProposalRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :external_deal_id, as: 'externalDealId'
|
||||||
|
property :note, as: 'note', class: Google::Apis::AdexchangebuyerV1_4::MarketplaceNote, decorator: Google::Apis::AdexchangebuyerV1_4::MarketplaceNote::Representation
|
||||||
|
|
||||||
|
property :proposal_revision_number, as: 'proposalRevisionNumber'
|
||||||
|
property :update_action, as: 'updateAction'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -817,6 +817,42 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Update a given private auction proposal
|
||||||
|
# @param [String] private_auction_id
|
||||||
|
# The private auction id to be updated.
|
||||||
|
# @param [Google::Apis::AdexchangebuyerV1_4::UpdatePrivateAuctionProposalRequest] update_private_auction_proposal_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.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [NilClass] No result returned for this method
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [void]
|
||||||
|
#
|
||||||
|
# @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_marketplace_private_auction_proposal(private_auction_id, update_private_auction_proposal_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'privateauction/{privateAuctionId}/updateproposal', options)
|
||||||
|
command.request_representation = Google::Apis::AdexchangebuyerV1_4::UpdatePrivateAuctionProposalRequest::Representation
|
||||||
|
command.request_object = update_private_auction_proposal_request_object
|
||||||
|
command.params['privateAuctionId'] = private_auction_id unless private_auction_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Retrieves the authenticated user's list of performance metrics.
|
# Retrieves the authenticated user's list of performance metrics.
|
||||||
# @param [String] account_id
|
# @param [String] account_id
|
||||||
# The account id to get the reports.
|
# The account id to get the reports.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/admin-sdk/directory/
|
# @see https://developers.google.com/admin-sdk/directory/
|
||||||
module AdminDirectoryV1
|
module AdminDirectoryV1
|
||||||
VERSION = 'DirectoryV1'
|
VERSION = 'DirectoryV1'
|
||||||
REVISION = '20151208'
|
REVISION = '20160323'
|
||||||
|
|
||||||
# View and manage customer related information
|
# View and manage customer related information
|
||||||
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/adsense/management/
|
# @see https://developers.google.com/adsense/management/
|
||||||
module AdsenseV1_4
|
module AdsenseV1_4
|
||||||
VERSION = 'V1_4'
|
VERSION = 'V1_4'
|
||||||
REVISION = '20160309'
|
REVISION = '20160411'
|
||||||
|
|
||||||
# View and manage your AdSense data
|
# View and manage your AdSense data
|
||||||
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/adsense/host/
|
# @see https://developers.google.com/adsense/host/
|
||||||
module AdsensehostV4_1
|
module AdsensehostV4_1
|
||||||
VERSION = 'V4_1'
|
VERSION = 'V4_1'
|
||||||
REVISION = '20160309'
|
REVISION = '20160411'
|
||||||
|
|
||||||
# View and manage your AdSense host data and associated accounts
|
# View and manage your AdSense host data and associated accounts
|
||||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google Play EMM API
|
# Google Play EMM API
|
||||||
#
|
#
|
||||||
# Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android
|
# Manages the deployment of apps to Android for Work users.
|
||||||
# for Work users.
|
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/android/work/play/emm-api
|
# @see https://developers.google.com/android/work/play/emm-api
|
||||||
module AndroidenterpriseV1
|
module AndroidenterpriseV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160302'
|
REVISION = '20160408'
|
||||||
|
|
||||||
# Manage corporate Android devices
|
# Manage corporate Android devices
|
||||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||||
|
|
|
@ -416,7 +416,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# An enterprise resource represents a binding between an organisation and their
|
# An enterprise resource represents a binding between an organization and their
|
||||||
# EMM.
|
# EMM.
|
||||||
# To create an enterprise, an admin of the enterprise must first go through a
|
# To create an enterprise, an admin of the enterprise must first go through a
|
||||||
# Play for Work sign-up flow. At the end of this the admin will be presented
|
# Play for Work sign-up flow. At the end of this the admin will be presented
|
||||||
|
@ -962,7 +962,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :distribution_channel
|
attr_accessor :distribution_channel
|
||||||
|
|
||||||
# A link to an image that can be used as an icon for the product.
|
# A link to an image that can be used as an icon for the product. This image is
|
||||||
|
# suitable for use at up to 512px x 512px.
|
||||||
# Corresponds to the JSON property `iconUrl`
|
# Corresponds to the JSON property `iconUrl`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :icon_url
|
attr_accessor :icon_url
|
||||||
|
@ -991,6 +992,12 @@ module Google
|
||||||
attr_accessor :requires_container_app
|
attr_accessor :requires_container_app
|
||||||
alias_method :requires_container_app?, :requires_container_app
|
alias_method :requires_container_app?, :requires_container_app
|
||||||
|
|
||||||
|
# A link to a smaller image that can be used as an icon for the product. This
|
||||||
|
# image is suitable for use at up to 128px x 128px.
|
||||||
|
# Corresponds to the JSON property `smallIconUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :small_icon_url
|
||||||
|
|
||||||
# The name of the product.
|
# The name of the product.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1017,6 +1024,7 @@ module Google
|
||||||
@product_id = args[:product_id] if args.key?(:product_id)
|
@product_id = args[:product_id] if args.key?(:product_id)
|
||||||
@product_pricing = args[:product_pricing] if args.key?(:product_pricing)
|
@product_pricing = args[:product_pricing] if args.key?(:product_pricing)
|
||||||
@requires_container_app = args[:requires_container_app] if args.key?(:requires_container_app)
|
@requires_container_app = args[:requires_container_app] if args.key?(:requires_container_app)
|
||||||
|
@small_icon_url = args[:small_icon_url] if args.key?(:small_icon_url)
|
||||||
@title = args[:title] if args.key?(:title)
|
@title = args[:title] if args.key?(:title)
|
||||||
@work_details_url = args[:work_details_url] if args.key?(:work_details_url)
|
@work_details_url = args[:work_details_url] if args.key?(:work_details_url)
|
||||||
end
|
end
|
||||||
|
@ -1359,8 +1367,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# The user's primary email, e.g. "jsmith@example.com". Will always be set for
|
# The user's primary email, e.g. "jsmith@example.com".
|
||||||
# Google managed users and not set for EMM managed users.
|
|
||||||
# Corresponds to the JSON property `primaryEmail`
|
# Corresponds to the JSON property `primaryEmail`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :primary_email
|
attr_accessor :primary_email
|
||||||
|
|
|
@ -488,6 +488,7 @@ module Google
|
||||||
property :product_id, as: 'productId'
|
property :product_id, as: 'productId'
|
||||||
property :product_pricing, as: 'productPricing'
|
property :product_pricing, as: 'productPricing'
|
||||||
property :requires_container_app, as: 'requiresContainerApp'
|
property :requires_container_app, as: 'requiresContainerApp'
|
||||||
|
property :small_icon_url, as: 'smallIconUrl'
|
||||||
property :title, as: 'title'
|
property :title, as: 'title'
|
||||||
property :work_details_url, as: 'workDetailsUrl'
|
property :work_details_url, as: 'workDetailsUrl'
|
||||||
end
|
end
|
||||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
||||||
module AndroidenterpriseV1
|
module AndroidenterpriseV1
|
||||||
# Google Play EMM API
|
# Google Play EMM API
|
||||||
#
|
#
|
||||||
# Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android
|
# Manages the deployment of apps to Android for Work users.
|
||||||
# for Work users.
|
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/androidenterprise_v1'
|
# require 'google/apis/androidenterprise_v1'
|
||||||
|
@ -1036,7 +1035,7 @@ module Google
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# The ID of the user.
|
# The ID of the user.
|
||||||
# @param [String] entitlement_id
|
# @param [String] entitlement_id
|
||||||
# The ID of the entitlement, e.g. "app:com.google.android.gm".
|
# The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
|
||||||
# @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
|
||||||
|
@ -1075,7 +1074,7 @@ module Google
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# The ID of the user.
|
# The ID of the user.
|
||||||
# @param [String] entitlement_id
|
# @param [String] entitlement_id
|
||||||
# The ID of the entitlement, e.g. "app:com.google.android.gm".
|
# The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
|
||||||
# @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
|
||||||
|
@ -1155,7 +1154,7 @@ module Google
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# The ID of the user.
|
# The ID of the user.
|
||||||
# @param [String] entitlement_id
|
# @param [String] entitlement_id
|
||||||
# The ID of the entitlement, e.g. "app:com.google.android.gm".
|
# The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::Entitlement] entitlement_object
|
# @param [Google::Apis::AndroidenterpriseV1::Entitlement] entitlement_object
|
||||||
# @param [Boolean] install
|
# @param [Boolean] install
|
||||||
# Set to true to also install the product on all the user's devices where
|
# Set to true to also install the product on all the user's devices where
|
||||||
|
@ -1205,7 +1204,7 @@ module Google
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
# The ID of the user.
|
# The ID of the user.
|
||||||
# @param [String] entitlement_id
|
# @param [String] entitlement_id
|
||||||
# The ID of the entitlement, e.g. "app:com.google.android.gm".
|
# The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::Entitlement] entitlement_object
|
# @param [Google::Apis::AndroidenterpriseV1::Entitlement] entitlement_object
|
||||||
# @param [Boolean] install
|
# @param [Boolean] install
|
||||||
# Set to true to also install the product on all the user's devices where
|
# Set to true to also install the product on all the user's devices where
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/android-publisher
|
# @see https://developers.google.com/android-publisher
|
||||||
module AndroidpublisherV2
|
module AndroidpublisherV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160221'
|
REVISION = '20160324'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -1232,6 +1232,27 @@ module Google
|
||||||
attr_accessor :auto_renewing
|
attr_accessor :auto_renewing
|
||||||
alias_method :auto_renewing?, :auto_renewing
|
alias_method :auto_renewing?, :auto_renewing
|
||||||
|
|
||||||
|
# The cancel reason of the subscription, if the subscription is not auto
|
||||||
|
# renewing. Possible values are:
|
||||||
|
# - User cancelled the subscription
|
||||||
|
# - Subscription was cancelled by the system, for example because of a billing
|
||||||
|
# problem
|
||||||
|
# Corresponds to the JSON property `cancelReason`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :cancel_reason
|
||||||
|
|
||||||
|
# ISO 3166-1 alpha-2 billing country/region code of the user at the time the
|
||||||
|
# subscription was granted.
|
||||||
|
# Corresponds to the JSON property `countryCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :country_code
|
||||||
|
|
||||||
|
# A developer-specified string that contains supplemental information about an
|
||||||
|
# order.
|
||||||
|
# Corresponds to the JSON property `developerPayload`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :developer_payload
|
||||||
|
|
||||||
# Time at which the subscription will expire, in milliseconds since Epoch.
|
# Time at which the subscription will expire, in milliseconds since Epoch.
|
||||||
# Corresponds to the JSON property `expiryTimeMillis`
|
# Corresponds to the JSON property `expiryTimeMillis`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1243,6 +1264,26 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# The payment state of the subscription. Possible values are:
|
||||||
|
# - Payment pending
|
||||||
|
# - Payment received
|
||||||
|
# Corresponds to the JSON property `paymentState`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :payment_state
|
||||||
|
|
||||||
|
# Price of the subscription, not including tax. Price is expressed in micro-
|
||||||
|
# units, where 1,000,000 micro-units equal one unit of the currency. For example,
|
||||||
|
# if the subscription price is €1.99, price_amount_micros is 1990000.
|
||||||
|
# Corresponds to the JSON property `priceAmountMicros`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :price_amount_micros
|
||||||
|
|
||||||
|
# ISO 4217 currency code for the subscription price. For example, if the price
|
||||||
|
# is specified in British pounds sterling, price_currency_code is "GBP".
|
||||||
|
# Corresponds to the JSON property `priceCurrencyCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :price_currency_code
|
||||||
|
|
||||||
# Time at which the subscription was granted, in milliseconds since Epoch.
|
# Time at which the subscription was granted, in milliseconds since Epoch.
|
||||||
# Corresponds to the JSON property `startTimeMillis`
|
# Corresponds to the JSON property `startTimeMillis`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1255,8 +1296,14 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing)
|
@auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing)
|
||||||
|
@cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
|
||||||
|
@country_code = args[:country_code] if args.key?(:country_code)
|
||||||
|
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
||||||
@expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis)
|
@expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@payment_state = args[:payment_state] if args.key?(:payment_state)
|
||||||
|
@price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
|
||||||
|
@price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
|
||||||
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -679,8 +679,14 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :auto_renewing, as: 'autoRenewing'
|
property :auto_renewing, as: 'autoRenewing'
|
||||||
|
property :cancel_reason, as: 'cancelReason'
|
||||||
|
property :country_code, as: 'countryCode'
|
||||||
|
property :developer_payload, as: 'developerPayload'
|
||||||
property :expiry_time_millis, as: 'expiryTimeMillis'
|
property :expiry_time_millis, as: 'expiryTimeMillis'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
|
property :payment_state, as: 'paymentState'
|
||||||
|
property :price_amount_micros, as: 'priceAmountMicros'
|
||||||
|
property :price_currency_code, as: 'priceCurrencyCode'
|
||||||
property :start_time_millis, as: 'startTimeMillis'
|
property :start_time_millis, as: 'startTimeMillis'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google App Engine Admin API
|
# Google App Engine Admin API
|
||||||
#
|
#
|
||||||
# The Google App Engine Admin API enables developers to provision and manage
|
# Provisions and manages App Engine applications.
|
||||||
# their App Engine applications.
|
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1beta5
|
module AppengineV1beta5
|
||||||
VERSION = 'V1beta5'
|
VERSION = 'V1beta5'
|
||||||
REVISION = '20160223'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -28,8 +28,8 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The server-assigned name, which is only unique within the same service that
|
# The server-assigned name, which is only unique within the same service that
|
||||||
# originally returns it. If you use the default HTTP mapping above, the `name`
|
# originally returns it. If you use the default HTTP mapping, the `name` should
|
||||||
# should have the format of `operations/some/unique/name`.
|
# have the format of `operations/some/unique/name`.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
@ -217,7 +217,7 @@ module Google
|
||||||
attr_accessor :id
|
attr_accessor :id
|
||||||
|
|
||||||
# HTTP path dispatch rules for requests to the app that do not explicitly target
|
# HTTP path dispatch rules for requests to the app that do not explicitly target
|
||||||
# a service or version. The rules are order-dependent.
|
# a service or version. The rules are order-dependent. @OutputOnly
|
||||||
# Corresponds to the JSON property `dispatchRules`
|
# Corresponds to the JSON property `dispatchRules`
|
||||||
# @return [Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>]
|
# @return [Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>]
|
||||||
attr_accessor :dispatch_rules
|
attr_accessor :dispatch_rules
|
||||||
|
@ -229,10 +229,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :auth_domain
|
attr_accessor :auth_domain
|
||||||
|
|
||||||
# The location from which the application will be run. Choices are "us" for
|
# The location from which the application will be run. Application instances
|
||||||
# United States and "eu" for European Union. Application instances will run out
|
# will run out of data centers in the chosen location and all of the application'
|
||||||
# of data centers in the chosen location and all of the application's End User
|
# s End User Content will be stored at rest. The default is "us-central".
|
||||||
# Content will be stored at rest in the chosen location. The default is "us".
|
# Choices are: "us-central" - Central US "europe-west" - Western Europe "us-
|
||||||
|
# east1" - Eastern US
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
@ -244,7 +245,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :code_bucket
|
attr_accessor :code_bucket
|
||||||
|
|
||||||
# Determines the cookie expiration policy for the application.
|
# Determines the cookie expiration policy for the application. @OutputOnly
|
||||||
# Corresponds to the JSON property `defaultCookieExpiration`
|
# Corresponds to the JSON property `defaultCookieExpiration`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :default_cookie_expiration
|
attr_accessor :default_cookie_expiration
|
||||||
|
@ -1441,6 +1442,140 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for `Instances.ListInstances`.
|
||||||
|
class ListInstancesResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The instances belonging to the requested version.
|
||||||
|
# Corresponds to the JSON property `instances`
|
||||||
|
# @return [Array<Google::Apis::AppengineV1beta5::Instance>]
|
||||||
|
attr_accessor :instances
|
||||||
|
|
||||||
|
# Continuation token for fetching the next page of results.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@instances = args[:instances] if args.key?(:instances)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Instances are the computing units that App Engine uses to automatically scale
|
||||||
|
# an application.
|
||||||
|
class Instance
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The full path to the Instance resource in the API. Example: "apps/myapp/
|
||||||
|
# services/default/versions/v1/instances/instance-1" @OutputOnly
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# The relative name/path of the instance within the version. Example: "instance-
|
||||||
|
# 1" @OutputOnly
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# The App Engine release the instance is running on. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `appEngineRelease`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :app_engine_release
|
||||||
|
|
||||||
|
# Availability of instance. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `availability`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :availability
|
||||||
|
|
||||||
|
# For VMEngines instances, the name of GCE VM where the instance lives. @
|
||||||
|
# OutputOnly
|
||||||
|
# Corresponds to the JSON property `vmName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :vm_name
|
||||||
|
|
||||||
|
# For VMEngines instances, the zone where the GCE VM is located. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `vmZoneName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :vm_zone_name
|
||||||
|
|
||||||
|
# For VMEngines instances, the GCE VM ID of the instance. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `vmId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :vm_id
|
||||||
|
|
||||||
|
# Time when instance was started. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `startTimestamp`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :start_timestamp
|
||||||
|
|
||||||
|
# Number of requests (since the clone was started). @OutputOnly
|
||||||
|
# Corresponds to the JSON property `requests`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :requests
|
||||||
|
|
||||||
|
# Number of errors since the instance was started. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `errors`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :errors
|
||||||
|
|
||||||
|
# QPS for this instance (averaged over the last minute). @OutputOnly
|
||||||
|
# Corresponds to the JSON property `qps`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :qps
|
||||||
|
|
||||||
|
# Latency in milliseconds (averaged over the last minute). @OutputOnly
|
||||||
|
# Corresponds to the JSON property `averageLatency`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :average_latency
|
||||||
|
|
||||||
|
# Memory usage (in bytes). @OutputOnly
|
||||||
|
# Corresponds to the JSON property `memoryUsage`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :memory_usage
|
||||||
|
|
||||||
|
# For VMEngines instances, the status of GCE VM where the instance lives. @
|
||||||
|
# OutputOnly
|
||||||
|
# Corresponds to the JSON property `vmStatus`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :vm_status
|
||||||
|
|
||||||
|
# For VMEngines instances, whether the instance has been unlocked. @OutputOnly
|
||||||
|
# Corresponds to the JSON property `vmUnlocked`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :vm_unlocked
|
||||||
|
alias_method :vm_unlocked?, :vm_unlocked
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
||||||
|
@availability = args[:availability] if args.key?(:availability)
|
||||||
|
@vm_name = args[:vm_name] if args.key?(:vm_name)
|
||||||
|
@vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
|
||||||
|
@vm_id = args[:vm_id] if args.key?(:vm_id)
|
||||||
|
@start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
|
||||||
|
@requests = args[:requests] if args.key?(:requests)
|
||||||
|
@errors = args[:errors] if args.key?(:errors)
|
||||||
|
@qps = args[:qps] if args.key?(:qps)
|
||||||
|
@average_latency = args[:average_latency] if args.key?(:average_latency)
|
||||||
|
@memory_usage = args[:memory_usage] if args.key?(:memory_usage)
|
||||||
|
@vm_status = args[:vm_status] if args.key?(:vm_status)
|
||||||
|
@vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Metadata for the given google.longrunning.Operation.
|
# Metadata for the given google.longrunning.Operation.
|
||||||
class OperationMetadata
|
class OperationMetadata
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -208,6 +208,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListInstancesResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Instance
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class OperationMetadata
|
class OperationMetadata
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -567,6 +579,36 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListInstancesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :instances, as: 'instances', class: Google::Apis::AppengineV1beta5::Instance, decorator: Google::Apis::AppengineV1beta5::Instance::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Instance
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :app_engine_release, as: 'appEngineRelease'
|
||||||
|
property :availability, as: 'availability'
|
||||||
|
property :vm_name, as: 'vmName'
|
||||||
|
property :vm_zone_name, as: 'vmZoneName'
|
||||||
|
property :vm_id, as: 'vmId'
|
||||||
|
property :start_timestamp, as: 'startTimestamp'
|
||||||
|
property :requests, as: 'requests'
|
||||||
|
property :errors, as: 'errors'
|
||||||
|
property :qps, as: 'qps'
|
||||||
|
property :average_latency, as: 'averageLatency'
|
||||||
|
property :memory_usage, as: 'memoryUsage'
|
||||||
|
property :vm_status, as: 'vmStatus'
|
||||||
|
property :vm_unlocked, as: 'vmUnlocked'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class OperationMetadata
|
class OperationMetadata
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
||||||
module AppengineV1beta5
|
module AppengineV1beta5
|
||||||
# Google App Engine Admin API
|
# Google App Engine Admin API
|
||||||
#
|
#
|
||||||
# The Google App Engine Admin API enables developers to provision and manage
|
# Provisions and manages App Engine applications.
|
||||||
# their App Engine applications.
|
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/appengine_v1beta5'
|
# require 'google/apis/appengine_v1beta5'
|
||||||
|
@ -486,10 +485,10 @@ module Google
|
||||||
# Request-specific options
|
# Request-specific options
|
||||||
#
|
#
|
||||||
# @yield [result, err] Result & error if block supplied
|
# @yield [result, err] Result & error if block supplied
|
||||||
# @yieldparam result [Google::Apis::AppengineV1beta5::Version] parsed result object
|
# @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
#
|
#
|
||||||
# @return [Google::Apis::AppengineV1beta5::Version]
|
# @return [Google::Apis::AppengineV1beta5::Operation]
|
||||||
#
|
#
|
||||||
# @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
|
||||||
|
@ -498,8 +497,8 @@ module Google
|
||||||
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
||||||
command.request_representation = Google::Apis::AppengineV1beta5::Version::Representation
|
command.request_representation = Google::Apis::AppengineV1beta5::Version::Representation
|
||||||
command.request_object = version_object
|
command.request_object = version_object
|
||||||
command.response_representation = Google::Apis::AppengineV1beta5::Version::Representation
|
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
||||||
command.response_class = Google::Apis::AppengineV1beta5::Version
|
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
||||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||||
command.params['servicesId'] = services_id unless services_id.nil?
|
command.params['servicesId'] = services_id unless services_id.nil?
|
||||||
command.params['versionsId'] = versions_id unless versions_id.nil?
|
command.params['versionsId'] = versions_id unless versions_id.nil?
|
||||||
|
@ -508,6 +507,49 @@ module Google
|
||||||
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)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Lists the instances of a version.
|
||||||
|
# @param [String] apps_id
|
||||||
|
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
||||||
|
# services/default/versions/v1".
|
||||||
|
# @param [String] services_id
|
||||||
|
# Part of `name`. See documentation of `appsId`.
|
||||||
|
# @param [String] versions_id
|
||||||
|
# Part of `name`. See documentation of `appsId`.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Maximum results to return per page.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Continuation token for fetching the next page of results.
|
||||||
|
# @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::AppengineV1beta5::ListInstancesResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AppengineV1beta5::ListInstancesResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_app_service_version_instances(apps_id, services_id, versions_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances', options)
|
||||||
|
command.response_representation = Google::Apis::AppengineV1beta5::ListInstancesResponse::Representation
|
||||||
|
command.response_class = Google::Apis::AppengineV1beta5::ListInstancesResponse
|
||||||
|
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||||
|
command.params['servicesId'] = services_id unless services_id.nil?
|
||||||
|
command.params['versionsId'] = versions_id unless versions_id.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services/web/api/states
|
# @see https://developers.google.com/games/services/web/api/states
|
||||||
module AppstateV1
|
module AppstateV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160310'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# View and manage your data for this application
|
# View and manage your data for this application
|
||||||
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/bigquery/
|
# @see https://cloud.google.com/bigquery/
|
||||||
module BigqueryV2
|
module BigqueryV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160304'
|
REVISION = '20160408'
|
||||||
|
|
||||||
# View and manage your data in Google BigQuery
|
# View and manage your data in Google BigQuery
|
||||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
|
@ -283,16 +283,16 @@ module Google
|
||||||
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
||||||
attr_accessor :dataset_reference
|
attr_accessor :dataset_reference
|
||||||
|
|
||||||
# [Experimental] The default lifetime of all tables in the dataset, in
|
# [Optional] The default lifetime of all tables in the dataset, in milliseconds.
|
||||||
# milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this
|
# The minimum value is 3600000 milliseconds (one hour). Once this property is
|
||||||
# property is set, all newly-created tables in the dataset will have an
|
# set, all newly-created tables in the dataset will have an expirationTime
|
||||||
# expirationTime property set to the creation time plus the value in this
|
# property set to the creation time plus the value in this property, and
|
||||||
# property, and changing the value will only affect new tables, not existing
|
# changing the value will only affect new tables, not existing ones. When the
|
||||||
# ones. When the expirationTime for a given table is reached, that table will be
|
# expirationTime for a given table is reached, that table will be deleted
|
||||||
# deleted automatically. If a table's expirationTime is modified or removed
|
# automatically. If a table's expirationTime is modified or removed before the
|
||||||
# before the table expires, or if you provide an explicit expirationTime when
|
# table expires, or if you provide an explicit expirationTime when creating a
|
||||||
# creating a table, that value takes precedence over the default expiration time
|
# table, that value takes precedence over the default expiration time indicated
|
||||||
# indicated by this property.
|
# by this property.
|
||||||
# Corresponds to the JSON property `defaultTableExpirationMs`
|
# Corresponds to the JSON property `defaultTableExpirationMs`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :default_table_expiration_ms
|
attr_accessor :default_table_expiration_ms
|
||||||
|
@ -879,6 +879,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class IntervalPartitionConfiguration
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `expirationMs`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :expiration_ms
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@expiration_ms = args[:expiration_ms] if args.key?(:expiration_ms)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class Job
|
class Job
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1204,7 +1229,8 @@ module Google
|
||||||
|
|
||||||
# [Optional] The format of the data files. For CSV files, specify "CSV". For
|
# [Optional] The format of the data files. For CSV files, specify "CSV". For
|
||||||
# datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON,
|
# datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON,
|
||||||
# specify "NEWLINE_DELIMITED_JSON". The default value is CSV.
|
# specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". The default value
|
||||||
|
# is CSV.
|
||||||
# Corresponds to the JSON property `sourceFormat`
|
# Corresponds to the JSON property `sourceFormat`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_format
|
attr_accessor :source_format
|
||||||
|
@ -2172,6 +2198,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :num_rows
|
attr_accessor :num_rows
|
||||||
|
|
||||||
|
# [Experimental] List of partition configurations for this table. Currently only
|
||||||
|
# one configuration can be specified and it can only be an interval partition
|
||||||
|
# with type daily.
|
||||||
|
# Corresponds to the JSON property `partitionConfigurations`
|
||||||
|
# @return [Array<Google::Apis::BigqueryV2::TablePartitionConfiguration>]
|
||||||
|
attr_accessor :partition_configurations
|
||||||
|
|
||||||
# [Optional] Describes the schema of this table.
|
# [Optional] Describes the schema of this table.
|
||||||
# Corresponds to the JSON property `schema`
|
# Corresponds to the JSON property `schema`
|
||||||
# @return [Google::Apis::BigqueryV2::TableSchema]
|
# @return [Google::Apis::BigqueryV2::TableSchema]
|
||||||
|
@ -2225,6 +2258,7 @@ module Google
|
||||||
@location = args[:location] if args.key?(:location)
|
@location = args[:location] if args.key?(:location)
|
||||||
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
||||||
@num_rows = args[:num_rows] if args.key?(:num_rows)
|
@num_rows = args[:num_rows] if args.key?(:num_rows)
|
||||||
|
@partition_configurations = args[:partition_configurations] if args.key?(:partition_configurations)
|
||||||
@schema = args[:schema] if args.key?(:schema)
|
@schema = args[:schema] if args.key?(:schema)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@streaming_buffer = args[:streaming_buffer] if args.key?(:streaming_buffer)
|
@streaming_buffer = args[:streaming_buffer] if args.key?(:streaming_buffer)
|
||||||
|
@ -2456,9 +2490,9 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
# [Required] The field data type. Possible values include STRING, INTEGER, FLOAT,
|
# [Required] The field data type. Possible values include STRING, BYTES, INTEGER,
|
||||||
# BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains
|
# FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field
|
||||||
# a nested schema).
|
# contains a nested schema).
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :type
|
attr_accessor :type
|
||||||
|
@ -2563,6 +2597,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# [Required] A partition configuration. Only one type of partition should be
|
||||||
|
# configured.
|
||||||
|
class TablePartitionConfiguration
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# [Pick one] Configures an interval partition.
|
||||||
|
# Corresponds to the JSON property `interval`
|
||||||
|
# @return [Google::Apis::BigqueryV2::IntervalPartitionConfiguration]
|
||||||
|
attr_accessor :interval
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@interval = args[:interval] if args.key?(:interval)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class TableReference
|
class TableReference
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -106,6 +106,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class IntervalPartitionConfiguration
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Job
|
class Job
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -292,6 +298,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class TablePartitionConfiguration
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class TableReference
|
class TableReference
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -507,6 +519,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class IntervalPartitionConfiguration
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :expiration_ms, as: 'expirationMs'
|
||||||
|
property :type, as: 'type'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Job
|
class Job
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -816,6 +836,8 @@ module Google
|
||||||
property :location, as: 'location'
|
property :location, as: 'location'
|
||||||
property :num_bytes, as: 'numBytes'
|
property :num_bytes, as: 'numBytes'
|
||||||
property :num_rows, as: 'numRows'
|
property :num_rows, as: 'numRows'
|
||||||
|
collection :partition_configurations, as: 'partitionConfigurations', class: Google::Apis::BigqueryV2::TablePartitionConfiguration, decorator: Google::Apis::BigqueryV2::TablePartitionConfiguration::Representation
|
||||||
|
|
||||||
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
||||||
|
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
|
@ -922,6 +944,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class TablePartitionConfiguration
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :interval, as: 'interval', class: Google::Apis::BigqueryV2::IntervalPartitionConfiguration, decorator: Google::Apis::BigqueryV2::IntervalPartitionConfiguration::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class TableReference
|
class TableReference
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/books/docs/v1/getting_started
|
# @see https://developers.google.com/books/docs/v1/getting_started
|
||||||
module BooksV1
|
module BooksV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160226'
|
REVISION = '20160411'
|
||||||
|
|
||||||
# Manage your books
|
# Manage your books
|
||||||
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
|
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
|
||||||
|
|
|
@ -1995,6 +1995,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :body
|
attr_accessor :body
|
||||||
|
|
||||||
|
# The list of crm experiment ids.
|
||||||
|
# Corresponds to the JSON property `crmExperimentIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :crm_experiment_ids
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `doc_id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :doc_id
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `doc_type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :doc_type
|
||||||
|
|
||||||
#
|
#
|
||||||
# Corresponds to the JSON property `dont_show_notification`
|
# Corresponds to the JSON property `dont_show_notification`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -2049,6 +2064,9 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@body = args[:body] if args.key?(:body)
|
@body = args[:body] if args.key?(:body)
|
||||||
|
@crm_experiment_ids = args[:crm_experiment_ids] if args.key?(:crm_experiment_ids)
|
||||||
|
@doc_id = args[:doc_id] if args.key?(:doc_id)
|
||||||
|
@doc_type = args[:doc_type] if args.key?(:doc_type)
|
||||||
@dont_show_notification = args[:dont_show_notification] if args.key?(:dont_show_notification)
|
@dont_show_notification = args[:dont_show_notification] if args.key?(:dont_show_notification)
|
||||||
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@ -3191,6 +3209,11 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :entitlement_type
|
attr_accessor :entitlement_type
|
||||||
|
|
||||||
|
# Information on the ability to share with the family.
|
||||||
|
# Corresponds to the JSON property `familySharing`
|
||||||
|
# @return [Google::Apis::BooksV1::Volume::UserInfo::FamilySharing]
|
||||||
|
attr_accessor :family_sharing
|
||||||
|
|
||||||
# Whether or not the user shared this volume with the family.
|
# Whether or not the user shared this volume with the family.
|
||||||
# Corresponds to the JSON property `isFamilySharedFromUser`
|
# Corresponds to the JSON property `isFamilySharedFromUser`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -3203,14 +3226,18 @@ module Google
|
||||||
attr_accessor :is_family_shared_to_user
|
attr_accessor :is_family_shared_to_user
|
||||||
alias_method :is_family_shared_to_user?, :is_family_shared_to_user
|
alias_method :is_family_shared_to_user?, :is_family_shared_to_user
|
||||||
|
|
||||||
# Whether or not this volume can be shared with the family by the user. This
|
# Deprecated: Replaced by familySharing.
|
||||||
# includes sharing eligibility of both the volume and the user. If the value is
|
|
||||||
# true, the user can initiate a family sharing action.
|
|
||||||
# Corresponds to the JSON property `isFamilySharingAllowed`
|
# Corresponds to the JSON property `isFamilySharingAllowed`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_family_sharing_allowed
|
attr_accessor :is_family_sharing_allowed
|
||||||
alias_method :is_family_sharing_allowed?, :is_family_sharing_allowed
|
alias_method :is_family_sharing_allowed?, :is_family_sharing_allowed
|
||||||
|
|
||||||
|
# Deprecated: Replaced by familySharing.
|
||||||
|
# Corresponds to the JSON property `isFamilySharingDisabledByFop`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_family_sharing_disabled_by_fop
|
||||||
|
alias_method :is_family_sharing_disabled_by_fop?, :is_family_sharing_disabled_by_fop
|
||||||
|
|
||||||
# Whether or not this volume is currently in "my books."
|
# Whether or not this volume is currently in "my books."
|
||||||
# Corresponds to the JSON property `isInMyBooks`
|
# Corresponds to the JSON property `isInMyBooks`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -3280,9 +3307,11 @@ module Google
|
||||||
@acquisition_type = args[:acquisition_type] if args.key?(:acquisition_type)
|
@acquisition_type = args[:acquisition_type] if args.key?(:acquisition_type)
|
||||||
@copy = args[:copy] if args.key?(:copy)
|
@copy = args[:copy] if args.key?(:copy)
|
||||||
@entitlement_type = args[:entitlement_type] if args.key?(:entitlement_type)
|
@entitlement_type = args[:entitlement_type] if args.key?(:entitlement_type)
|
||||||
|
@family_sharing = args[:family_sharing] if args.key?(:family_sharing)
|
||||||
@is_family_shared_from_user = args[:is_family_shared_from_user] if args.key?(:is_family_shared_from_user)
|
@is_family_shared_from_user = args[:is_family_shared_from_user] if args.key?(:is_family_shared_from_user)
|
||||||
@is_family_shared_to_user = args[:is_family_shared_to_user] if args.key?(:is_family_shared_to_user)
|
@is_family_shared_to_user = args[:is_family_shared_to_user] if args.key?(:is_family_shared_to_user)
|
||||||
@is_family_sharing_allowed = args[:is_family_sharing_allowed] if args.key?(:is_family_sharing_allowed)
|
@is_family_sharing_allowed = args[:is_family_sharing_allowed] if args.key?(:is_family_sharing_allowed)
|
||||||
|
@is_family_sharing_disabled_by_fop = args[:is_family_sharing_disabled_by_fop] if args.key?(:is_family_sharing_disabled_by_fop)
|
||||||
@is_in_my_books = args[:is_in_my_books] if args.key?(:is_in_my_books)
|
@is_in_my_books = args[:is_in_my_books] if args.key?(:is_in_my_books)
|
||||||
@is_preordered = args[:is_preordered] if args.key?(:is_preordered)
|
@is_preordered = args[:is_preordered] if args.key?(:is_preordered)
|
||||||
@is_purchased = args[:is_purchased] if args.key?(:is_purchased)
|
@is_purchased = args[:is_purchased] if args.key?(:is_purchased)
|
||||||
|
@ -3332,6 +3361,42 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Information on the ability to share with the family.
|
||||||
|
class FamilySharing
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The role of the user in the family.
|
||||||
|
# Corresponds to the JSON property `familyRole`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :family_role
|
||||||
|
|
||||||
|
# Whether or not this volume can be shared with the family by the user. This
|
||||||
|
# includes sharing eligibility of both the volume and the user. If the value is
|
||||||
|
# true, the user can initiate a family sharing action.
|
||||||
|
# Corresponds to the JSON property `isSharingAllowed`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_sharing_allowed
|
||||||
|
alias_method :is_sharing_allowed?, :is_sharing_allowed
|
||||||
|
|
||||||
|
# Whether or not sharing this volume is temporarily disabled due to issues with
|
||||||
|
# the Family Wallet.
|
||||||
|
# Corresponds to the JSON property `isSharingDisabledByFop`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_sharing_disabled_by_fop
|
||||||
|
alias_method :is_sharing_disabled_by_fop?, :is_sharing_disabled_by_fop
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@family_role = args[:family_role] if args.key?(:family_role)
|
||||||
|
@is_sharing_allowed = args[:is_sharing_allowed] if args.key?(:is_sharing_allowed)
|
||||||
|
@is_sharing_disabled_by_fop = args[:is_sharing_disabled_by_fop] if args.key?(:is_sharing_disabled_by_fop)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Period during this book is/was a valid rental.
|
# Period during this book is/was a valid rental.
|
||||||
class RentalPeriod
|
class RentalPeriod
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -520,6 +520,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class FamilySharing
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class RentalPeriod
|
class RentalPeriod
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1188,6 +1194,9 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :body, as: 'body'
|
property :body, as: 'body'
|
||||||
|
collection :crm_experiment_ids, as: 'crmExperimentIds'
|
||||||
|
property :doc_id, as: 'doc_id'
|
||||||
|
property :doc_type, as: 'doc_type'
|
||||||
property :dont_show_notification, as: 'dont_show_notification'
|
property :dont_show_notification, as: 'dont_show_notification'
|
||||||
property :icon_url, as: 'iconUrl'
|
property :icon_url, as: 'iconUrl'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
|
@ -1529,9 +1538,12 @@ module Google
|
||||||
property :copy, as: 'copy', class: Google::Apis::BooksV1::Volume::UserInfo::Copy, decorator: Google::Apis::BooksV1::Volume::UserInfo::Copy::Representation
|
property :copy, as: 'copy', class: Google::Apis::BooksV1::Volume::UserInfo::Copy, decorator: Google::Apis::BooksV1::Volume::UserInfo::Copy::Representation
|
||||||
|
|
||||||
property :entitlement_type, as: 'entitlementType'
|
property :entitlement_type, as: 'entitlementType'
|
||||||
|
property :family_sharing, as: 'familySharing', class: Google::Apis::BooksV1::Volume::UserInfo::FamilySharing, decorator: Google::Apis::BooksV1::Volume::UserInfo::FamilySharing::Representation
|
||||||
|
|
||||||
property :is_family_shared_from_user, as: 'isFamilySharedFromUser'
|
property :is_family_shared_from_user, as: 'isFamilySharedFromUser'
|
||||||
property :is_family_shared_to_user, as: 'isFamilySharedToUser'
|
property :is_family_shared_to_user, as: 'isFamilySharedToUser'
|
||||||
property :is_family_sharing_allowed, as: 'isFamilySharingAllowed'
|
property :is_family_sharing_allowed, as: 'isFamilySharingAllowed'
|
||||||
|
property :is_family_sharing_disabled_by_fop, as: 'isFamilySharingDisabledByFop'
|
||||||
property :is_in_my_books, as: 'isInMyBooks'
|
property :is_in_my_books, as: 'isInMyBooks'
|
||||||
property :is_preordered, as: 'isPreordered'
|
property :is_preordered, as: 'isPreordered'
|
||||||
property :is_purchased, as: 'isPurchased'
|
property :is_purchased, as: 'isPurchased'
|
||||||
|
@ -1560,6 +1572,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class FamilySharing
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :family_role, as: 'familyRole'
|
||||||
|
property :is_sharing_allowed, as: 'isSharingAllowed'
|
||||||
|
property :is_sharing_disabled_by_fop, as: 'isSharingDisabledByFop'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class RentalPeriod
|
class RentalPeriod
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Calendar API
|
# Calendar API
|
||||||
#
|
#
|
||||||
# Lets you manipulate events and other calendar data.
|
# Manipulates events and other calendar data.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||||
module CalendarV3
|
module CalendarV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20160306'
|
REVISION = '20160410'
|
||||||
|
|
||||||
# Manage your calendars
|
# Manage your calendars
|
||||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
||||||
module CalendarV3
|
module CalendarV3
|
||||||
# Calendar API
|
# Calendar API
|
||||||
#
|
#
|
||||||
# Lets you manipulate events and other calendar data.
|
# Manipulates events and other calendar data.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/calendar_v3'
|
# require 'google/apis/calendar_v3'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/container-builder/docs/
|
# @see https://cloud.google.com/container-builder/docs/
|
||||||
module CloudbuildV1
|
module CloudbuildV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160310'
|
REVISION = '20160413'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/monitoring/v2beta2/
|
# @see https://cloud.google.com/monitoring/v2beta2/
|
||||||
module CloudmonitoringV2beta2
|
module CloudmonitoringV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20160228'
|
REVISION = '20160403'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1
|
module CloudresourcemanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160225'
|
REVISION = '20160316'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -29,10 +29,10 @@ module Google
|
||||||
# require 'google/apis/cloudresourcemanager_v1'
|
# require 'google/apis/cloudresourcemanager_v1'
|
||||||
#
|
#
|
||||||
# Cloudresourcemanager = Google::Apis::CloudresourcemanagerV1 # Alias the module
|
# Cloudresourcemanager = Google::Apis::CloudresourcemanagerV1 # Alias the module
|
||||||
# service = Cloudresourcemanager::CloudresourcemanagerService.new
|
# service = Cloudresourcemanager::CloudResourceManagerService.new
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
class CloudresourcemanagerService < Google::Apis::Core::BaseService
|
class CloudResourceManagerService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV1beta1
|
module CloudresourcemanagerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20160225'
|
REVISION = '20160316'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -29,10 +29,10 @@ module Google
|
||||||
# require 'google/apis/cloudresourcemanager_v1beta1'
|
# require 'google/apis/cloudresourcemanager_v1beta1'
|
||||||
#
|
#
|
||||||
# Cloudresourcemanager = Google::Apis::CloudresourcemanagerV1beta1 # Alias the module
|
# Cloudresourcemanager = Google::Apis::CloudresourcemanagerV1beta1 # Alias the module
|
||||||
# service = Cloudresourcemanager::CloudresourcemanagerService.new
|
# service = Cloudresourcemanager::CloudResourceManagerService.new
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
class CloudresourcemanagerService < Google::Apis::Core::BaseService
|
class CloudResourceManagerService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/compute/docs/access/user-accounts/api/latest/
|
# @see https://cloud.google.com/compute/docs/access/user-accounts/api/latest/
|
||||||
module ClouduseraccountsBeta
|
module ClouduseraccountsBeta
|
||||||
VERSION = 'Beta'
|
VERSION = 'Beta'
|
||||||
REVISION = '20160301'
|
REVISION = '20160316'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -401,7 +401,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :insert_time
|
attr_accessor :insert_time
|
||||||
|
|
||||||
# [Output Only] Type of the resource. Always compute#operation for operation
|
# [Output Only] Type of the resource. Always compute#operation for Operation
|
||||||
# resources.
|
# resources.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeBeta
|
module ComputeBeta
|
||||||
VERSION = 'Beta'
|
VERSION = 'Beta'
|
||||||
REVISION = '20160302'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -485,16 +485,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :disk_type
|
attr_accessor :disk_type
|
||||||
|
|
||||||
# A source image used to create the disk. You can provide a private (custom)
|
# The source image used to create this disk. If the source image is deleted,
|
||||||
# image, and Compute Engine will use the corresponding image from your project.
|
# this field will not be set.
|
||||||
# For example:
|
# To create a disk with one of the public operating system images, specify the
|
||||||
|
# image by its family name. For example, specify family/debian-8 to use the
|
||||||
|
# latest Debian 8 image:
|
||||||
|
# projects/debian-cloud/global/images/family/debian-8
|
||||||
|
# Alternatively, use a specific version of a public operating system image:
|
||||||
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
||||||
|
# To create a disk with a private image that you created, specify the image name
|
||||||
|
# in the following format:
|
||||||
# global/images/my-private-image
|
# global/images/my-private-image
|
||||||
# Or you can provide an image from a publicly-available project. For example, to
|
# You can also specify a private image by its image family, which returns the
|
||||||
# use a Debian image from the debian-cloud project, make sure to include the
|
# latest version of the image in that family. Replace the image name with family/
|
||||||
# project in the URL:
|
# family-name:
|
||||||
# projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
|
# global/images/family/my-private-family
|
||||||
# where vYYYYMMDD is the image version. The fully-qualified URL will also work
|
|
||||||
# in both cases.
|
|
||||||
# Corresponds to the JSON property `sourceImage`
|
# Corresponds to the JSON property `sourceImage`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_image
|
attr_accessor :source_image
|
||||||
|
@ -1092,6 +1097,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :protocol
|
attr_accessor :protocol
|
||||||
|
|
||||||
|
# [Output Only] URL of the region where the regional backend service resides.
|
||||||
|
# This field is not applicable to global backend services.
|
||||||
|
# Corresponds to the JSON property `region`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
# [Output Only] Server-defined URL for the resource.
|
# [Output Only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1121,6 +1132,7 @@ module Google
|
||||||
@port = args[:port] if args.key?(:port)
|
@port = args[:port] if args.key?(:port)
|
||||||
@port_name = args[:port_name] if args.key?(:port_name)
|
@port_name = args[:port_name] if args.key?(:port_name)
|
||||||
@protocol = args[:protocol] if args.key?(:protocol)
|
@protocol = args[:protocol] if args.key?(:protocol)
|
||||||
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
||||||
end
|
end
|
||||||
|
@ -1346,16 +1358,20 @@ module Google
|
||||||
# A fingerprint for the labels being applied to this disk, which is essentially
|
# A fingerprint for the labels being applied to this disk, which is essentially
|
||||||
# a hash of the labels set used for optimistic locking. The fingerprint is
|
# a hash of the labels set used for optimistic locking. The fingerprint is
|
||||||
# initially generated by Compute Engine and changes after every request to
|
# initially generated by Compute Engine and changes after every request to
|
||||||
# modify or update metadata. You must always provide an up-to-date fingerprint
|
# modify or update labels. You must always provide an up-to-date fingerprint
|
||||||
# hash in order to update or change labels.
|
# hash in order to update or change labels.
|
||||||
# To see the latest fingerprint, make get() request to the disk.
|
# To see the latest fingerprint, make a get() request to retrieve a disk.
|
||||||
# Corresponds to the JSON property `labelFingerprint`
|
# Corresponds to the JSON property `labelFingerprint`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :label_fingerprint
|
attr_accessor :label_fingerprint
|
||||||
|
|
||||||
# Labels to apply to this disk. These can be later modified by the setLabels
|
# Labels to apply to this disk. These can be later modified by the setLabels()
|
||||||
# method. Each label key & value must comply with RFC1035. Label values may be
|
# method. Each label key & value must comply with RFC1035. Specifically, the
|
||||||
# empty.
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||||
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||||
|
# and all following characters must be a dash, lowercase letter, or digit,
|
||||||
|
# except the last character, which cannot be a dash. A label value can also be
|
||||||
|
# empty (e.g. "example-label": "").
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -1405,26 +1421,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :size_gb
|
attr_accessor :size_gb
|
||||||
|
|
||||||
# The source image used to create this disk. If the source image is deleted from
|
# The source image used to create this disk. If the source image is deleted,
|
||||||
# the system, this field will not be set, even if an image with the same name
|
# this field will not be set.
|
||||||
# has been re-created.
|
# To create a disk with one of the public operating system images, specify the
|
||||||
# When creating a disk, you can provide a private (custom) image using the
|
# image by its family name. For example, specify family/debian-8 to use the
|
||||||
# following input, and Compute Engine will use the corresponding image from your
|
# latest Debian 8 image:
|
||||||
# project. For example:
|
# projects/debian-cloud/global/images/family/debian-8
|
||||||
|
# Alternatively, use a specific version of a public operating system image:
|
||||||
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
||||||
|
# To create a disk with a private image that you created, specify the image name
|
||||||
|
# in the following format:
|
||||||
# global/images/my-private-image
|
# global/images/my-private-image
|
||||||
# Or you can provide an image from a publicly-available project. For example, to
|
# You can also specify a private image by its image family, which returns the
|
||||||
# use a Debian image from the debian-cloud project, make sure to include the
|
# latest version of the image in that family. Replace the image name with family/
|
||||||
# project in the URL:
|
# family-name:
|
||||||
# projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
|
|
||||||
# where vYYYYMMDD is the image version. The fully-qualified URL will also work
|
|
||||||
# in both cases.
|
|
||||||
# You can also specify the latest image for a private image family by replacing
|
|
||||||
# the image name suffix with family/family-name. For example:
|
|
||||||
# global/images/family/my-private-family
|
# global/images/family/my-private-family
|
||||||
# Or you can specify an image family from a publicly-available project. For
|
|
||||||
# example, to use the latest Debian 7 from the debian-cloud project, make sure
|
|
||||||
# to include the project in the URL:
|
|
||||||
# projects/debian-cloud/global/images/family/debian-7
|
|
||||||
# Corresponds to the JSON property `sourceImage`
|
# Corresponds to the JSON property `sourceImage`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_image
|
attr_accessor :source_image
|
||||||
|
@ -2478,13 +2489,16 @@ module Google
|
||||||
class GlobalSetLabelsRequest
|
class GlobalSetLabelsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Fingerprint of the previous set of labels for this resource, used to detect
|
# The fingerprint of the previous set of labels for this resource, used to
|
||||||
# conflicts.
|
# detect conflicts. The fingerprint is initially generated by Compute Engine and
|
||||||
|
# changes after every request to modify or update labels. You must always
|
||||||
|
# provide an up-to-date fingerprint hash when updating or changing labels. Make
|
||||||
|
# a get() request to the resource to get the latest fingerprint.
|
||||||
# Corresponds to the JSON property `labelFingerprint`
|
# Corresponds to the JSON property `labelFingerprint`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :label_fingerprint
|
attr_accessor :label_fingerprint
|
||||||
|
|
||||||
# The new labels for the resource.
|
# The labels to set for this resource.
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -2933,8 +2947,9 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :disk_size_gb
|
attr_accessor :disk_size_gb
|
||||||
|
|
||||||
# Image family for the resource; provided by the client when the resource is
|
# The name of the image family to which this image belongs. You can create disks
|
||||||
# created.
|
# by specifying an image family instead of a specific image name. The image
|
||||||
|
# family always returns its latest image that is not deprecated.
|
||||||
# Corresponds to the JSON property `family`
|
# Corresponds to the JSON property `family`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :family
|
attr_accessor :family
|
||||||
|
@ -2956,18 +2971,22 @@ module Google
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# A fingerprint for the labels being applied to this image, which is essentially
|
# A fingerprint for the labels being applied to this image, which is essentially
|
||||||
# a hash of the labels set used for optimistic locking. The fingerprint is
|
# a hash of the labels used for optimistic locking. The fingerprint is initially
|
||||||
# initially generated by Compute Engine and changes after every request to
|
# generated by Compute Engine and changes after every request to modify or
|
||||||
# modify or update metadata. You must always provide an up-to-date fingerprint
|
# update labels. You must always provide an up-to-date fingerprint hash in order
|
||||||
# hash in order to update or change labels.
|
# to update or change labels.
|
||||||
# To see the latest fingerprint, make get() request to retrieve the image.
|
# To see the latest fingerprint, make a get() request to retrieve an image.
|
||||||
# Corresponds to the JSON property `labelFingerprint`
|
# Corresponds to the JSON property `labelFingerprint`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :label_fingerprint
|
attr_accessor :label_fingerprint
|
||||||
|
|
||||||
# Labels to apply to this image. These can be later modified by the setLabels
|
# Labels to apply to this image. These can be later modified by the setLabels()
|
||||||
# method. Each label key & value must comply with RFC1035. Label values may be
|
# method. Each label key & value must comply with RFC1035. Specifically, the
|
||||||
# empty.
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||||
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||||
|
# and all following characters must be a dash, lowercase letter, or digit,
|
||||||
|
# except the last character, which cannot be a dash. A label value can also be
|
||||||
|
# empty (e.g. "example-label": "").
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -3706,6 +3725,14 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :creating
|
attr_accessor :creating
|
||||||
|
|
||||||
|
# [Output Only] The number of instances that the managed instance group will
|
||||||
|
# attempt to create. The group attempts to create each instance only once. If
|
||||||
|
# the group fails to create one of these instances, it decreases the group's
|
||||||
|
# target_size value accordingly.
|
||||||
|
# Corresponds to the JSON property `creatingWithoutRetries`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :creating_without_retries
|
||||||
|
|
||||||
# [Output Only] The number of instances in the managed instance group that are
|
# [Output Only] The number of instances in the managed instance group that are
|
||||||
# scheduled to be deleted or are currently being deleted.
|
# scheduled to be deleted or are currently being deleted.
|
||||||
# Corresponds to the JSON property `deleting`
|
# Corresponds to the JSON property `deleting`
|
||||||
|
@ -3747,6 +3774,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@abandoning = args[:abandoning] if args.key?(:abandoning)
|
@abandoning = args[:abandoning] if args.key?(:abandoning)
|
||||||
@creating = args[:creating] if args.key?(:creating)
|
@creating = args[:creating] if args.key?(:creating)
|
||||||
|
@creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
|
||||||
@deleting = args[:deleting] if args.key?(:deleting)
|
@deleting = args[:deleting] if args.key?(:deleting)
|
||||||
@none = args[:none] if args.key?(:none)
|
@none = args[:none] if args.key?(:none)
|
||||||
@recreating = args[:recreating] if args.key?(:recreating)
|
@recreating = args[:recreating] if args.key?(:recreating)
|
||||||
|
@ -3960,6 +3988,46 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class InstanceGroupManagersResizeAdvancedRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# If this flag is true, we will attempt to create all instances resized up with
|
||||||
|
# this request only once. In case of an error during creation, we will not
|
||||||
|
# create this instance, and we will decrease the target_size. If the flag is
|
||||||
|
# false, we will keep trying to create each instance until we succeed.
|
||||||
|
# This flag matters only in the first attempt of creation of an instance. If an
|
||||||
|
# instance creation with this flag succeeds, the instance behaves the same way
|
||||||
|
# as all the other instances created with the flag set to false. In particular,
|
||||||
|
# consecutive instance creations (in case an instance dies and needs to be
|
||||||
|
# recreated) will not fail after the first attempt.
|
||||||
|
# This flag is applicable only to the current resize request. It does not
|
||||||
|
# influence other resize requests in any way.
|
||||||
|
# You can see which instances is being creating in which mode by calling the
|
||||||
|
# listManagedInstances API.
|
||||||
|
# Corresponds to the JSON property `noCreationRetries`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :no_creation_retries
|
||||||
|
alias_method :no_creation_retries?, :no_creation_retries
|
||||||
|
|
||||||
|
# The number of running instances that the managed instance group should
|
||||||
|
# maintain at any given time. The group automatically adds or removes instances
|
||||||
|
# to maintain the number of instances specified by this parameter.
|
||||||
|
# Corresponds to the JSON property `targetSize`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :target_size
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@no_creation_retries = args[:no_creation_retries] if args.key?(:no_creation_retries)
|
||||||
|
@target_size = args[:target_size] if args.key?(:target_size)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class InstanceGroupManagersScopedList
|
class InstanceGroupManagersScopedList
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -5591,7 +5659,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :insert_time
|
attr_accessor :insert_time
|
||||||
|
|
||||||
# [Output Only] Type of the resource. Always compute#operation for operation
|
# [Output Only] Type of the resource. Always compute#operation for Operation
|
||||||
# resources.
|
# resources.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -6729,10 +6797,9 @@ module Google
|
||||||
class RouterBgp
|
class RouterBgp
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Local BGP Autonomous System Number (ASN). Can be a constant public ASN value
|
# Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN,
|
||||||
# for Google, or a customer-specified private ASN. In either case, the value
|
# either 16-bit or 32-bit. The value will be fixed for this router resource. All
|
||||||
# will be fixed for this router resource. All VPN tunnels that link to this
|
# VPN tunnels that link to this router will have the same local ASN.
|
||||||
# router will have the same local ASN.
|
|
||||||
# Corresponds to the JSON property `asn`
|
# Corresponds to the JSON property `asn`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :asn
|
attr_accessor :asn
|
||||||
|
@ -6807,9 +6874,10 @@ module Google
|
||||||
class RouterInterface
|
class RouterInterface
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# IP address and range of the interface. The value should be a CIDR-formatted
|
# IP address and range of the interface. The IP range must be in the RFC3927
|
||||||
# string, for example: 169.254.0.1/30. NOTE: Do NOT truncate address, as it
|
# link-local IP space. The value must be a CIDR-formatted string, for example:
|
||||||
# represents IP address of interface.
|
# 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP
|
||||||
|
# address of the interface.
|
||||||
# Corresponds to the JSON property `ipRange`
|
# Corresponds to the JSON property `ipRange`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :ip_range
|
attr_accessor :ip_range
|
||||||
|
@ -6936,7 +7004,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :linked_vpn_tunnel
|
attr_accessor :linked_vpn_tunnel
|
||||||
|
|
||||||
# Name of this BGP peer. Unique within the routes resource.
|
# Name of this BGP peer. Unique within the Routers resource.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
@ -7254,16 +7322,20 @@ module Google
|
||||||
# A fingerprint for the labels being applied to this snapshot, which is
|
# A fingerprint for the labels being applied to this snapshot, which is
|
||||||
# essentially a hash of the labels set used for optimistic locking. The
|
# essentially a hash of the labels set used for optimistic locking. The
|
||||||
# fingerprint is initially generated by Compute Engine and changes after every
|
# fingerprint is initially generated by Compute Engine and changes after every
|
||||||
# request to modify or update metadata. You must always provide an up-to-date
|
# request to modify or update labels. You must always provide an up-to-date
|
||||||
# fingerprint hash in order to update or change labels.
|
# fingerprint hash in order to update or change labels.
|
||||||
# To see the latest fingerprint, make get() request to the snapshot.
|
# To see the latest fingerprint, make a get() request to retrieve a snapshot.
|
||||||
# Corresponds to the JSON property `labelFingerprint`
|
# Corresponds to the JSON property `labelFingerprint`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :label_fingerprint
|
attr_accessor :label_fingerprint
|
||||||
|
|
||||||
# Labels to apply to this snapshot. These can be later modified by the setLabels
|
# Labels to apply to this snapshot. These can be later modified by the setLabels(
|
||||||
# method. Each label key & value must comply with RFC1035. Label values may be
|
# ) method. Each label key & value must comply with RFC1035. Specifically, the
|
||||||
# empty.
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||||
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||||
|
# and all following characters must be a dash, lowercase letter, or digit,
|
||||||
|
# except the last character, which cannot be a dash. A label value can also be
|
||||||
|
# empty (e.g. "example-label": "").
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -7585,7 +7657,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :network
|
attr_accessor :network
|
||||||
|
|
||||||
# [Output Only] URL of the region where the Subnetwork resides.
|
# URL of the region where the Subnetwork resides.
|
||||||
# Corresponds to the JSON property `region`
|
# Corresponds to the JSON property `region`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :region
|
attr_accessor :region
|
||||||
|
@ -9804,13 +9876,6 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# [Output Only] Any scheduled maintenance windows for this zone. When the zone
|
|
||||||
# is in a maintenance window, all resources which reside in the zone will be
|
|
||||||
# unavailable. For more information, see Maintenance Windows
|
|
||||||
# Corresponds to the JSON property `maintenanceWindows`
|
|
||||||
# @return [Array<Google::Apis::ComputeBeta::Zone::MaintenanceWindow>]
|
|
||||||
attr_accessor :maintenance_windows
|
|
||||||
|
|
||||||
# [Output Only] Name of the resource.
|
# [Output Only] Name of the resource.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -9842,49 +9907,11 @@ module Google
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@status = args[:status] if args.key?(:status)
|
@status = args[:status] if args.key?(:status)
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
|
||||||
class MaintenanceWindow
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# [Output Only] Starting time of the maintenance window, in RFC3339 format.
|
|
||||||
# Corresponds to the JSON property `beginTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :begin_time
|
|
||||||
|
|
||||||
# [Output Only] Textual description of the maintenance window.
|
|
||||||
# Corresponds to the JSON property `description`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :description
|
|
||||||
|
|
||||||
# [Output Only] Ending time of the maintenance window, in RFC3339 format.
|
|
||||||
# Corresponds to the JSON property `endTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :end_time
|
|
||||||
|
|
||||||
# [Output Only] Name of the maintenance window.
|
|
||||||
# Corresponds to the JSON property `name`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :name
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@begin_time = args[:begin_time] if args.key?(:begin_time)
|
|
||||||
@description = args[:description] if args.key?(:description)
|
|
||||||
@end_time = args[:end_time] if args.key?(:end_time)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Contains a list of zone resources.
|
# Contains a list of zone resources.
|
||||||
|
@ -9938,13 +9965,16 @@ module Google
|
||||||
class ZoneSetLabelsRequest
|
class ZoneSetLabelsRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Fingerprint of the previous set of labels for this resource, used to detect
|
# The fingerprint of the previous set of labels for this resource, used to
|
||||||
# conflicts.
|
# detect conflicts. The fingerprint is initially generated by Compute Engine and
|
||||||
|
# changes after every request to modify or update labels. You must always
|
||||||
|
# provide an up-to-date fingerprint hash in order to update or change labels.
|
||||||
|
# Make a get() request to the resource to get the latest fingerprint.
|
||||||
# Corresponds to the JSON property `labelFingerprint`
|
# Corresponds to the JSON property `labelFingerprint`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :label_fingerprint
|
attr_accessor :label_fingerprint
|
||||||
|
|
||||||
# The new labels for the resource.
|
# The labels to set for this resource.
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
|
|
@ -460,6 +460,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InstanceGroupManagersResizeAdvancedRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class InstanceGroupManagersScopedList
|
class InstanceGroupManagersScopedList
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1272,12 +1278,6 @@ module Google
|
||||||
|
|
||||||
class Zone
|
class Zone
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
class MaintenanceWindow
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
@ -1540,6 +1540,7 @@ module Google
|
||||||
property :port, as: 'port'
|
property :port, as: 'port'
|
||||||
property :port_name, as: 'portName'
|
property :port_name, as: 'portName'
|
||||||
property :protocol, as: 'protocol'
|
property :protocol, as: 'protocol'
|
||||||
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :timeout_sec, as: 'timeoutSec'
|
property :timeout_sec, as: 'timeoutSec'
|
||||||
end
|
end
|
||||||
|
@ -2126,6 +2127,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :abandoning, as: 'abandoning'
|
property :abandoning, as: 'abandoning'
|
||||||
property :creating, as: 'creating'
|
property :creating, as: 'creating'
|
||||||
|
property :creating_without_retries, as: 'creatingWithoutRetries'
|
||||||
property :deleting, as: 'deleting'
|
property :deleting, as: 'deleting'
|
||||||
property :none, as: 'none'
|
property :none, as: 'none'
|
||||||
property :recreating, as: 'recreating'
|
property :recreating, as: 'recreating'
|
||||||
|
@ -2195,6 +2197,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class InstanceGroupManagersResizeAdvancedRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :no_creation_retries, as: 'noCreationRetries'
|
||||||
|
property :target_size, as: 'targetSize'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class InstanceGroupManagersScopedList
|
class InstanceGroupManagersScopedList
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -3684,23 +3694,11 @@ module Google
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::ComputeBeta::Zone::MaintenanceWindow, decorator: Google::Apis::ComputeBeta::Zone::MaintenanceWindow::Representation
|
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :status, as: 'status'
|
property :status, as: 'status'
|
||||||
end
|
end
|
||||||
|
|
||||||
class MaintenanceWindow
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :begin_time, as: 'beginTime'
|
|
||||||
property :description, as: 'description'
|
|
||||||
property :end_time, as: 'endTime'
|
|
||||||
property :name, as: 'name'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class ZoneList
|
class ZoneList
|
||||||
|
|
|
@ -1580,7 +1580,7 @@ module Google
|
||||||
|
|
||||||
# Creates a persistent disk in the specified project using the data in the
|
# Creates a persistent disk in the specified project using the data in the
|
||||||
# request. You can create a disk with a sourceImage, a sourceSnapshot, or create
|
# request. You can create a disk with a sourceImage, a sourceSnapshot, or create
|
||||||
# an empty 200 GB data disk by omitting all properties. You can also create a
|
# an empty 500 GB data disk by omitting all properties. You can also create a
|
||||||
# disk that is larger than the default size by specifying the sizeGb property.
|
# disk that is larger than the default size by specifying the sizeGb property.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -4041,7 +4041,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the latest undeprecated image for an image family.
|
# Returns the latest image that is part of an image family and is not deprecated.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] family
|
# @param [String] family
|
||||||
|
@ -4824,6 +4824,56 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Resizes the managed instance group. If you increase the size, the group
|
||||||
|
# creates new instances using the current instance template. If you decrease the
|
||||||
|
# size, the group deletes instances. The resize operation is marked DONE when
|
||||||
|
# the resize actions are scheduled even if the group has not yet added or
|
||||||
|
# deleted any instances. You must separately verify the status of the creating
|
||||||
|
# or deleting actions with the listmanagedinstances method. This method is an
|
||||||
|
# extended version of Resize and it supports more advanced options.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] zone
|
||||||
|
# The name of the zone where the managed instance group is located.
|
||||||
|
# @param [String] instance_group_manager
|
||||||
|
# The name of the managed instance group.
|
||||||
|
# @param [Google::Apis::ComputeBeta::InstanceGroupManagersResizeAdvancedRequest] instance_group_managers_resize_advanced_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.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::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 resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersResizeAdvancedRequest::Representation
|
||||||
|
command.request_object = instance_group_managers_resize_advanced_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['zone'] = zone unless zone.nil?
|
||||||
|
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Modifies the autohealing policies.
|
# Modifies the autohealing policies.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeV1
|
module ComputeV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160302'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -474,16 +474,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :disk_type
|
attr_accessor :disk_type
|
||||||
|
|
||||||
# A source image used to create the disk. You can provide a private (custom)
|
# The source image used to create this disk. If the source image is deleted,
|
||||||
# image, and Compute Engine will use the corresponding image from your project.
|
# this field will not be set.
|
||||||
# For example:
|
# To create a disk with one of the public operating system images, specify the
|
||||||
|
# image by its family name. For example, specify family/debian-8 to use the
|
||||||
|
# latest Debian 8 image:
|
||||||
|
# projects/debian-cloud/global/images/family/debian-8
|
||||||
|
# Alternatively, use a specific version of a public operating system image:
|
||||||
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
||||||
|
# To create a disk with a private image that you created, specify the image name
|
||||||
|
# in the following format:
|
||||||
# global/images/my-private-image
|
# global/images/my-private-image
|
||||||
# Or you can provide an image from a publicly-available project. For example, to
|
# You can also specify a private image by its image family, which returns the
|
||||||
# use a Debian image from the debian-cloud project, make sure to include the
|
# latest version of the image in that family. Replace the image name with family/
|
||||||
# project in the URL:
|
# family-name:
|
||||||
# projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
|
# global/images/family/my-private-family
|
||||||
# where vYYYYMMDD is the image version. The fully-qualified URL will also work
|
|
||||||
# in both cases.
|
|
||||||
# Corresponds to the JSON property `sourceImage`
|
# Corresponds to the JSON property `sourceImage`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_image
|
attr_accessor :source_image
|
||||||
|
@ -1068,6 +1073,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :protocol
|
attr_accessor :protocol
|
||||||
|
|
||||||
|
# [Output Only] URL of the region where the regional backend service resides.
|
||||||
|
# This field is not applicable to global backend services.
|
||||||
|
# Corresponds to the JSON property `region`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :region
|
||||||
|
|
||||||
# [Output Only] Server-defined URL for the resource.
|
# [Output Only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1096,6 +1107,7 @@ module Google
|
||||||
@port = args[:port] if args.key?(:port)
|
@port = args[:port] if args.key?(:port)
|
||||||
@port_name = args[:port_name] if args.key?(:port_name)
|
@port_name = args[:port_name] if args.key?(:port_name)
|
||||||
@protocol = args[:protocol] if args.key?(:protocol)
|
@protocol = args[:protocol] if args.key?(:protocol)
|
||||||
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
||||||
end
|
end
|
||||||
|
@ -1299,26 +1311,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :size_gb
|
attr_accessor :size_gb
|
||||||
|
|
||||||
# The source image used to create this disk. If the source image is deleted from
|
# The source image used to create this disk. If the source image is deleted,
|
||||||
# the system, this field will not be set, even if an image with the same name
|
# this field will not be set.
|
||||||
# has been re-created.
|
# To create a disk with one of the public operating system images, specify the
|
||||||
# When creating a disk, you can provide a private (custom) image using the
|
# image by its family name. For example, specify family/debian-8 to use the
|
||||||
# following input, and Compute Engine will use the corresponding image from your
|
# latest Debian 8 image:
|
||||||
# project. For example:
|
# projects/debian-cloud/global/images/family/debian-8
|
||||||
|
# Alternatively, use a specific version of a public operating system image:
|
||||||
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
||||||
|
# To create a disk with a private image that you created, specify the image name
|
||||||
|
# in the following format:
|
||||||
# global/images/my-private-image
|
# global/images/my-private-image
|
||||||
# Or you can provide an image from a publicly-available project. For example, to
|
# You can also specify a private image by its image family, which returns the
|
||||||
# use a Debian image from the debian-cloud project, make sure to include the
|
# latest version of the image in that family. Replace the image name with family/
|
||||||
# project in the URL:
|
# family-name:
|
||||||
# projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
|
|
||||||
# where vYYYYMMDD is the image version. The fully-qualified URL will also work
|
|
||||||
# in both cases.
|
|
||||||
# You can also specify the latest image for a private image family by replacing
|
|
||||||
# the image name suffix with family/family-name. For example:
|
|
||||||
# global/images/family/my-private-family
|
# global/images/family/my-private-family
|
||||||
# Or you can specify an image family from a publicly-available project. For
|
|
||||||
# example, to use the latest Debian 7 from the debian-cloud project, make sure
|
|
||||||
# to include the project in the URL:
|
|
||||||
# projects/debian-cloud/global/images/family/debian-7
|
|
||||||
# Corresponds to the JSON property `sourceImage`
|
# Corresponds to the JSON property `sourceImage`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :source_image
|
attr_accessor :source_image
|
||||||
|
@ -1795,6 +1802,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class DisksResizeRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The new size of the persistent disk, which is specified in GB.
|
||||||
|
# Corresponds to the JSON property `sizeGb`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :size_gb
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class DisksScopedList
|
class DisksScopedList
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -5379,7 +5405,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :insert_time
|
attr_accessor :insert_time
|
||||||
|
|
||||||
# [Output Only] Type of the resource. Always compute#operation for operation
|
# [Output Only] Type of the resource. Always compute#operation for Operation
|
||||||
# resources.
|
# resources.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -6804,7 +6830,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :network
|
attr_accessor :network
|
||||||
|
|
||||||
# [Output Only] URL of the region where the Subnetwork resides.
|
# URL of the region where the Subnetwork resides.
|
||||||
# Corresponds to the JSON property `region`
|
# Corresponds to the JSON property `region`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :region
|
attr_accessor :region
|
||||||
|
@ -8978,13 +9004,6 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# [Output Only] Any scheduled maintenance windows for this zone. When the zone
|
|
||||||
# is in a maintenance window, all resources which reside in the zone will be
|
|
||||||
# unavailable. For more information, see Maintenance Windows
|
|
||||||
# Corresponds to the JSON property `maintenanceWindows`
|
|
||||||
# @return [Array<Google::Apis::ComputeV1::Zone::MaintenanceWindow>]
|
|
||||||
attr_accessor :maintenance_windows
|
|
||||||
|
|
||||||
# [Output Only] Name of the resource.
|
# [Output Only] Name of the resource.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -9016,49 +9035,11 @@ module Google
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@status = args[:status] if args.key?(:status)
|
@status = args[:status] if args.key?(:status)
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
|
||||||
class MaintenanceWindow
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# [Output Only] Starting time of the maintenance window, in RFC3339 format.
|
|
||||||
# Corresponds to the JSON property `beginTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :begin_time
|
|
||||||
|
|
||||||
# [Output Only] Textual description of the maintenance window.
|
|
||||||
# Corresponds to the JSON property `description`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :description
|
|
||||||
|
|
||||||
# [Output Only] Ending time of the maintenance window, in RFC3339 format.
|
|
||||||
# Corresponds to the JSON property `endTime`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :end_time
|
|
||||||
|
|
||||||
# [Output Only] Name of the maintenance window.
|
|
||||||
# Corresponds to the JSON property `name`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :name
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@begin_time = args[:begin_time] if args.key?(:begin_time)
|
|
||||||
@description = args[:description] if args.key?(:description)
|
|
||||||
@end_time = args[:end_time] if args.key?(:end_time)
|
|
||||||
@name = args[:name] if args.key?(:name)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Contains a list of zone resources.
|
# Contains a list of zone resources.
|
||||||
|
|
|
@ -226,6 +226,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DisksResizeRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class DisksScopedList
|
class DisksScopedList
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1164,12 +1170,6 @@ module Google
|
||||||
|
|
||||||
class Zone
|
class Zone
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
class MaintenanceWindow
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
@ -1420,6 +1420,7 @@ module Google
|
||||||
property :port, as: 'port'
|
property :port, as: 'port'
|
||||||
property :port_name, as: 'portName'
|
property :port_name, as: 'portName'
|
||||||
property :protocol, as: 'protocol'
|
property :protocol, as: 'protocol'
|
||||||
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :timeout_sec, as: 'timeoutSec'
|
property :timeout_sec, as: 'timeoutSec'
|
||||||
end
|
end
|
||||||
|
@ -1583,6 +1584,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DisksResizeRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :size_gb, as: 'sizeGb'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class DisksScopedList
|
class DisksScopedList
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -3354,23 +3362,11 @@ module Google
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
collection :maintenance_windows, as: 'maintenanceWindows', class: Google::Apis::ComputeV1::Zone::MaintenanceWindow, decorator: Google::Apis::ComputeV1::Zone::MaintenanceWindow::Representation
|
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :status, as: 'status'
|
property :status, as: 'status'
|
||||||
end
|
end
|
||||||
|
|
||||||
class MaintenanceWindow
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :begin_time, as: 'beginTime'
|
|
||||||
property :description, as: 'description'
|
|
||||||
property :end_time, as: 'endTime'
|
|
||||||
property :name, as: 'name'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class ZoneList
|
class ZoneList
|
||||||
|
|
|
@ -1371,7 +1371,7 @@ module Google
|
||||||
|
|
||||||
# Creates a persistent disk in the specified project using the data in the
|
# Creates a persistent disk in the specified project using the data in the
|
||||||
# request. You can create a disk with a sourceImage, a sourceSnapshot, or create
|
# request. You can create a disk with a sourceImage, a sourceSnapshot, or create
|
||||||
# an empty 200 GB data disk by omitting all properties. You can also create a
|
# an empty 500 GB data disk by omitting all properties. You can also create a
|
||||||
# disk that is larger than the default size by specifying the sizeGb property.
|
# disk that is larger than the default size by specifying the sizeGb property.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -1488,6 +1488,50 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Resizes the specified persistent disk.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] zone
|
||||||
|
# The name of the zone for this request.
|
||||||
|
# @param [String] disk
|
||||||
|
# The name of the persistent disk.
|
||||||
|
# @param [Google::Apis::ComputeV1::DisksResizeRequest] disks_resize_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.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::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 resize_disk(project, zone, disk, disks_resize_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/resize', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::DisksResizeRequest::Representation
|
||||||
|
command.request_object = disks_resize_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['zone'] = zone unless zone.nil?
|
||||||
|
command.params['disk'] = disk unless disk.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Deletes the specified firewall.
|
# Deletes the specified firewall.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
|
|
@ -20,13 +20,13 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google Container Engine API
|
# Google Container Engine API
|
||||||
#
|
#
|
||||||
# The Google Container Engine API is used for building and managing container
|
# Builds and manages clusters that run container-based applications, powered by
|
||||||
# based applications, powered by the open source Kubernetes technology.
|
# open source Kubernetes technology.
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/container-engine/
|
# @see https://cloud.google.com/container-engine/
|
||||||
module ContainerV1
|
module ContainerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20150603'
|
REVISION = '20160321'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -31,6 +31,12 @@ module Google
|
||||||
# @return [Array<Google::Apis::ContainerV1::Cluster>]
|
# @return [Array<Google::Apis::ContainerV1::Cluster>]
|
||||||
attr_accessor :clusters
|
attr_accessor :clusters
|
||||||
|
|
||||||
|
# If any zones are listed here, the list of clusters returned may be missing
|
||||||
|
# those zones.
|
||||||
|
# Corresponds to the JSON property `missingZones`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :missing_zones
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -38,6 +44,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@clusters = args[:clusters] if args.key?(:clusters)
|
@clusters = args[:clusters] if args.key?(:clusters)
|
||||||
|
@missing_zones = args[:missing_zones] if args.key?(:missing_zones)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -59,14 +66,16 @@ module Google
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# The number of nodes to create in this cluster. You must ensure that your
|
# The number of nodes to create in this cluster. You must ensure that your
|
||||||
# Compute Engine [resource quota](/compute/docs/resource-quotas) is sufficient
|
# Compute Engine resource quota is sufficient for this number of instances. You
|
||||||
# for this number of instances. You must also have available firewall and routes
|
# must also have available firewall and routes quota. For requests, this field
|
||||||
# quota.
|
# should only be used in lieu of a "node_pool" object, since this configuration (
|
||||||
|
# along with the "node_config") will be used to create a "NodePool" object with
|
||||||
|
# an auto-generated name. Do not use this and a node_pool at the same time.
|
||||||
# Corresponds to the JSON property `initialNodeCount`
|
# Corresponds to the JSON property `initialNodeCount`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :initial_node_count
|
attr_accessor :initial_node_count
|
||||||
|
|
||||||
# Per-node parameters.
|
# Parameters that describe the nodes in a cluster.
|
||||||
# Corresponds to the JSON property `nodeConfig`
|
# Corresponds to the JSON property `nodeConfig`
|
||||||
# @return [Google::Apis::ContainerV1::NodeConfig]
|
# @return [Google::Apis::ContainerV1::NodeConfig]
|
||||||
attr_accessor :node_config
|
attr_accessor :node_config
|
||||||
|
@ -77,25 +86,25 @@ module Google
|
||||||
# @return [Google::Apis::ContainerV1::MasterAuth]
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
||||||
attr_accessor :master_auth
|
attr_accessor :master_auth
|
||||||
|
|
||||||
# The logging service that the cluster should write logs to. Currently available
|
# The logging service the cluster should use to write logs. Currently available
|
||||||
# options: * "logging.googleapis.com" - the Google Cloud Logging service * "none"
|
# options: * `logging.googleapis.com` - the Google Cloud Logging service. * `
|
||||||
# - no logs will be exported from the cluster * "" - default value; the default
|
# none` - no logs will be exported from the cluster. * if left as an empty
|
||||||
# is "logging.googleapis.com"
|
# string,`logging.googleapis.com` will be used.
|
||||||
# Corresponds to the JSON property `loggingService`
|
# Corresponds to the JSON property `loggingService`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :logging_service
|
attr_accessor :logging_service
|
||||||
|
|
||||||
# The monitoring service that the cluster should write metrics to. Currently
|
# The monitoring service the cluster should use to write metrics. Currently
|
||||||
# available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring
|
# available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring
|
||||||
# service * "none" - no metrics will be exported from the cluster * "" - default
|
# service. * `none` - no metrics will be exported from the cluster. * if left as
|
||||||
# value; the default is "monitoring.googleapis.com"
|
# an empty string, `monitoring.googleapis.com` will be used.
|
||||||
# Corresponds to the JSON property `monitoringService`
|
# Corresponds to the JSON property `monitoringService`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :monitoring_service
|
attr_accessor :monitoring_service
|
||||||
|
|
||||||
# The name of the Google Compute Engine [network](/compute/docs/networking#
|
# The name of the Google Compute Engine [network](/compute/docs/networks-and-
|
||||||
# networks_1) to which the cluster is connected. If left unspecified, the "
|
# firewalls#networks) to which the cluster is connected. If left unspecified,
|
||||||
# default" network will be used.
|
# the `default` network will be used.
|
||||||
# Corresponds to the JSON property `network`
|
# Corresponds to the JSON property `network`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :network
|
attr_accessor :network
|
||||||
|
@ -108,6 +117,18 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cluster_ipv4_cidr
|
attr_accessor :cluster_ipv4_cidr
|
||||||
|
|
||||||
|
# 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::ContainerV1::AddonsConfig]
|
||||||
|
attr_accessor :addons_config
|
||||||
|
|
||||||
|
# The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks)
|
||||||
|
# to which the cluster is connected.
|
||||||
|
# Corresponds to the JSON property `subnetwork`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :subnetwork
|
||||||
|
|
||||||
# [Output only] Server-defined URL for the resource.
|
# [Output only] Server-defined URL for the resource.
|
||||||
# Corresponds to the JSON property `selfLink`
|
# Corresponds to the JSON property `selfLink`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -119,15 +140,15 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :zone
|
attr_accessor :zone
|
||||||
|
|
||||||
# [Output only] The IP address of this cluster's Kubernetes master endpoint. The
|
# [Output only] The IP address of this cluster's master endpoint. The endpoint
|
||||||
# endpoint can be accessed from the internet at `https://username:password@
|
# can be accessed from the internet at `https://username:password@endpoint/`.
|
||||||
# endpoint/`. See the `masterAuth` property of this resource for username and
|
# See the `masterAuth` property of this resource for username and password
|
||||||
# password information.
|
# information.
|
||||||
# Corresponds to the JSON property `endpoint`
|
# Corresponds to the JSON property `endpoint`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :endpoint
|
attr_accessor :endpoint
|
||||||
|
|
||||||
# [Output only] The software version of Kubernetes master and kubelets used in
|
# [Output only] The software version of the master endpoint and kubelets used in
|
||||||
# the cluster when it was first created. The version can be upgraded over time.
|
# the cluster when it was first created. The version can be upgraded over time.
|
||||||
# Corresponds to the JSON property `initialClusterVersion`
|
# Corresponds to the JSON property `initialClusterVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -139,8 +160,8 @@ module Google
|
||||||
attr_accessor :current_master_version
|
attr_accessor :current_master_version
|
||||||
|
|
||||||
# [Output only] The current version of the node software components. If they are
|
# [Output only] The current version of the node software components. If they are
|
||||||
# currently at different versions because they're in the process of being
|
# currently at multiple versions because they're in the process of being
|
||||||
# upgraded, this reflects the minimum version of any of them.
|
# upgraded, this reflects the minimum version of all nodes.
|
||||||
# Corresponds to the JSON property `currentNodeVersion`
|
# Corresponds to the JSON property `currentNodeVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :current_node_version
|
attr_accessor :current_node_version
|
||||||
|
@ -163,15 +184,15 @@ module Google
|
||||||
attr_accessor :status_message
|
attr_accessor :status_message
|
||||||
|
|
||||||
# [Output only] The size of the address space on each node for hosting
|
# [Output only] The size of the address space on each node for hosting
|
||||||
# containers. This is provisioned from within the container_ipv4_cidr range.
|
# containers. This is provisioned from within the `container_ipv4_cidr` range.
|
||||||
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :node_ipv4_cidr_size
|
attr_accessor :node_ipv4_cidr_size
|
||||||
|
|
||||||
# [Output only] The IP address range of the Kubernetes services in this cluster,
|
# [Output only] The IP address range of the Kubernetes services in this cluster,
|
||||||
# in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
# in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
||||||
# notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last /
|
# notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
|
||||||
# 16 from the container CIDR.
|
# /16` from the container CIDR.
|
||||||
# Corresponds to the JSON property `servicesIpv4Cidr`
|
# Corresponds to the JSON property `servicesIpv4Cidr`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :services_ipv4_cidr
|
attr_accessor :services_ipv4_cidr
|
||||||
|
@ -182,6 +203,11 @@ module Google
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :instance_group_urls
|
attr_accessor :instance_group_urls
|
||||||
|
|
||||||
|
# [Output only] The number of nodes currently in the cluster.
|
||||||
|
# Corresponds to the JSON property `currentNodeCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :current_node_count
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -197,6 +223,8 @@ module Google
|
||||||
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
|
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
|
||||||
@network = args[:network] if args.key?(:network)
|
@network = args[:network] if args.key?(:network)
|
||||||
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
||||||
|
@addons_config = args[:addons_config] if args.key?(:addons_config)
|
||||||
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@zone = args[:zone] if args.key?(:zone)
|
@zone = args[:zone] if args.key?(:zone)
|
||||||
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
||||||
|
@ -209,10 +237,11 @@ module Google
|
||||||
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
||||||
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
||||||
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
|
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
|
||||||
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Per-node parameters.
|
# Parameters that describe the nodes in a cluster.
|
||||||
class NodeConfig
|
class NodeConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -234,11 +263,26 @@ module Google
|
||||||
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
||||||
# compute` is required for mounting persistent storage on your nodes. * `https://
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
||||||
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
||||||
# with *gcr.io*. If unspecified, no scopes are added.
|
# with **gcr.io** (the [Google Container Registry](/container-registry/)). If
|
||||||
|
# unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are
|
||||||
|
# enabled, in which case their required scopes will be added.
|
||||||
# Corresponds to the JSON property `oauthScopes`
|
# Corresponds to the JSON property `oauthScopes`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :oauth_scopes
|
attr_accessor :oauth_scopes
|
||||||
|
|
||||||
|
# The metadata key/value pairs assigned to instances in the cluster. Keys must
|
||||||
|
# conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length.
|
||||||
|
# These are reflected as part of a URL in the metadata server. Additionally, to
|
||||||
|
# avoid ambiguity, keys must not conflict with any other metadata keys for the
|
||||||
|
# project or be one of the four reserved keys: "instance-template", "kube-env", "
|
||||||
|
# startup-script", and "user-data" Values are free-form strings, and only have
|
||||||
|
# meaning as interpreted by the image running in the instance. The only
|
||||||
|
# restriction placed on them is that each value's size must be less than or
|
||||||
|
# equal to 32 KB. The total size of all keys and values must be less than 512 KB.
|
||||||
|
# Corresponds to the JSON property `metadata`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :metadata
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -248,6 +292,7 @@ module Google
|
||||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||||
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
||||||
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
||||||
|
@metadata = args[:metadata] if args.key?(:metadata)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -256,32 +301,31 @@ module Google
|
||||||
class MasterAuth
|
class MasterAuth
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The username to use for HTTP basic authentication when accessing the
|
# The username to use for HTTP basic authentication to the master endpoint.
|
||||||
# Kubernetes master endpoint.
|
|
||||||
# Corresponds to the JSON property `username`
|
# Corresponds to the JSON property `username`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :username
|
attr_accessor :username
|
||||||
|
|
||||||
# The password to use for HTTP basic authentication when accessing the
|
# The password to use for HTTP basic authentication to the master endpoint.
|
||||||
# Kubernetes master endpoint. Because the master endpoint is open to the
|
# Because the master endpoint is open to the Internet, you should create a
|
||||||
# internet, you should create a strong password.
|
# strong password.
|
||||||
# Corresponds to the JSON property `password`
|
# Corresponds to the JSON property `password`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :password
|
attr_accessor :password
|
||||||
|
|
||||||
# [Output only] Base64 encoded public certificate that is the root of trust for
|
# [Output only] Base64-encoded public certificate that is the root of trust for
|
||||||
# the cluster.
|
# the cluster.
|
||||||
# Corresponds to the JSON property `clusterCaCertificate`
|
# Corresponds to the JSON property `clusterCaCertificate`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :cluster_ca_certificate
|
attr_accessor :cluster_ca_certificate
|
||||||
|
|
||||||
# [Output only] Base64 encoded public certificate used by clients to
|
# [Output only] Base64-encoded public certificate used by clients to
|
||||||
# authenticate to the cluster endpoint.
|
# authenticate to the cluster endpoint.
|
||||||
# Corresponds to the JSON property `clientCertificate`
|
# Corresponds to the JSON property `clientCertificate`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :client_certificate
|
attr_accessor :client_certificate
|
||||||
|
|
||||||
# [Output only] Base64 encoded private key used by clients to authenticate to
|
# [Output only] Base64-encoded private key used by clients to authenticate to
|
||||||
# the cluster endpoint.
|
# the cluster endpoint.
|
||||||
# Corresponds to the JSON property `clientKey`
|
# Corresponds to the JSON property `clientKey`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -301,6 +345,81 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Configuration for the addons that can be automatically spun up in the cluster,
|
||||||
|
# enabling additional functionality.
|
||||||
|
class AddonsConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
||||||
|
# makes it easy to set up HTTP load balancers for services in a cluster.
|
||||||
|
# Corresponds to the JSON property `httpLoadBalancing`
|
||||||
|
# @return [Google::Apis::ContainerV1::HttpLoadBalancing]
|
||||||
|
attr_accessor :http_load_balancing
|
||||||
|
|
||||||
|
# Configuration options for the horizontal pod autoscaling feature, which
|
||||||
|
# increases or decreases the number of replica pods a replication controller has
|
||||||
|
# based on the resource usage of the existing pods.
|
||||||
|
# Corresponds to the JSON property `horizontalPodAutoscaling`
|
||||||
|
# @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling]
|
||||||
|
attr_accessor :horizontal_pod_autoscaling
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
||||||
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Configuration options for the HTTP (L7) load balancing controller addon, which
|
||||||
|
# makes it easy to set up HTTP load balancers for services in a cluster.
|
||||||
|
class HttpLoadBalancing
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether the HTTP Load Balancing controller is enabled in the cluster. When
|
||||||
|
# enabled, it runs a small pod in the cluster that manages the load balancers.
|
||||||
|
# Corresponds to the JSON property `disabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :disabled
|
||||||
|
alias_method :disabled?, :disabled
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@disabled = args[:disabled] if args.key?(:disabled)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Configuration options for the horizontal pod autoscaling feature, which
|
||||||
|
# increases or decreases the number of replica pods a replication controller has
|
||||||
|
# based on the resource usage of the existing pods.
|
||||||
|
class HorizontalPodAutoscaling
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When
|
||||||
|
# enabled, it ensures that a Heapster pod is running in the cluster, which is
|
||||||
|
# also used by the Cloud Monitoring service.
|
||||||
|
# Corresponds to the JSON property `disabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :disabled
|
||||||
|
alias_method :disabled?, :disabled
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@disabled = args[:disabled] if args.key?(:disabled)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# CreateClusterRequest creates a cluster.
|
# CreateClusterRequest creates a cluster.
|
||||||
class CreateClusterRequest
|
class CreateClusterRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -320,7 +439,8 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines the operation resource. All fields are output only.
|
# This operation resource represents operations that may have happened or are
|
||||||
|
# happening on the cluster. All fields are output only.
|
||||||
class Operation
|
class Operation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -345,6 +465,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :status
|
attr_accessor :status
|
||||||
|
|
||||||
|
# Detailed operation progress, if available.
|
||||||
|
# Corresponds to the JSON property `detail`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :detail
|
||||||
|
|
||||||
# If an error has occurred, a textual description of the error.
|
# If an error has occurred, a textual description of the error.
|
||||||
# Corresponds to the JSON property `statusMessage`
|
# Corresponds to the JSON property `statusMessage`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -370,17 +495,19 @@ module Google
|
||||||
@zone = args[:zone] if args.key?(:zone)
|
@zone = args[:zone] if args.key?(:zone)
|
||||||
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
||||||
@status = args[:status] if args.key?(:status)
|
@status = args[:status] if args.key?(:status)
|
||||||
|
@detail = args[:detail] if args.key?(:detail)
|
||||||
@status_message = args[:status_message] if args.key?(:status_message)
|
@status_message = args[:status_message] if args.key?(:status_message)
|
||||||
@self_link = args[:self_link] if args.key?(:self_link)
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@target_link = args[:target_link] if args.key?(:target_link)
|
@target_link = args[:target_link] if args.key?(:target_link)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# UpdateClusterRequest updates a cluster.
|
# UpdateClusterRequest updates the settings of a cluster.
|
||||||
class UpdateClusterRequest
|
class UpdateClusterRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# ClusterUpdate describes an update to the cluster.
|
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
||||||
|
# applied to a cluster with each request, so at most one field can be provided.
|
||||||
# Corresponds to the JSON property `update`
|
# Corresponds to the JSON property `update`
|
||||||
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
||||||
attr_accessor :update
|
attr_accessor :update
|
||||||
|
@ -395,16 +522,37 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# ClusterUpdate describes an update to the cluster.
|
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
||||||
|
# applied to a cluster with each request, so at most one field can be provided.
|
||||||
class ClusterUpdate
|
class ClusterUpdate
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The Kubernetes version to change the nodes to (typically an upgrade). Use "-"
|
# The Kubernetes version to change the nodes to (typically an upgrade). Use `-`
|
||||||
# to upgrade to the latest version supported by the server.
|
# to upgrade to the latest version supported by the server.
|
||||||
# Corresponds to the JSON property `desiredNodeVersion`
|
# Corresponds to the JSON property `desiredNodeVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :desired_node_version
|
attr_accessor :desired_node_version
|
||||||
|
|
||||||
|
# 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 `desiredMonitoringService`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :desired_monitoring_service
|
||||||
|
|
||||||
|
# Configuration for the addons that can be automatically spun up in the cluster,
|
||||||
|
# enabling additional functionality.
|
||||||
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
||||||
|
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
||||||
|
attr_accessor :desired_addons_config
|
||||||
|
|
||||||
|
# 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 `desiredMasterVersion`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :desired_master_version
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -412,6 +560,9 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
||||||
|
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
|
||||||
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
||||||
|
@desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -424,6 +575,12 @@ module Google
|
||||||
# @return [Array<Google::Apis::ContainerV1::Operation>]
|
# @return [Array<Google::Apis::ContainerV1::Operation>]
|
||||||
attr_accessor :operations
|
attr_accessor :operations
|
||||||
|
|
||||||
|
# If any zones are listed here, the list of operations returned may be missing
|
||||||
|
# the operations from those zones.
|
||||||
|
# Corresponds to the JSON property `missingZones`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :missing_zones
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -431,14 +588,15 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@operations = args[:operations] if args.key?(:operations)
|
@operations = args[:operations] if args.key?(:operations)
|
||||||
|
@missing_zones = args[:missing_zones] if args.key?(:missing_zones)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Container Engine Server configuration.
|
# Container Engine service configuration.
|
||||||
class ServerConfig
|
class ServerConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# What version this server deploys by default.
|
# Version of Kubernetes the service deploys by default.
|
||||||
# Corresponds to the JSON property `defaultClusterVersion`
|
# Corresponds to the JSON property `defaultClusterVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :default_cluster_version
|
attr_accessor :default_cluster_version
|
||||||
|
|
|
@ -46,6 +46,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AddonsConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class HttpLoadBalancing
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class HorizontalPodAutoscaling
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class CreateClusterRequest
|
class CreateClusterRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -87,6 +105,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :clusters, as: 'clusters', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation
|
collection :clusters, as: 'clusters', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation
|
||||||
|
|
||||||
|
collection :missing_zones, as: 'missingZones'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -104,6 +123,9 @@ module Google
|
||||||
property :monitoring_service, as: 'monitoringService'
|
property :monitoring_service, as: 'monitoringService'
|
||||||
property :network, as: 'network'
|
property :network, as: 'network'
|
||||||
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
||||||
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
||||||
|
|
||||||
|
property :subnetwork, as: 'subnetwork'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :zone, as: 'zone'
|
property :zone, as: 'zone'
|
||||||
property :endpoint, as: 'endpoint'
|
property :endpoint, as: 'endpoint'
|
||||||
|
@ -116,6 +138,7 @@ module Google
|
||||||
property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
|
property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
|
||||||
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
||||||
collection :instance_group_urls, as: 'instanceGroupUrls'
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
||||||
|
property :current_node_count, as: 'currentNodeCount'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -125,6 +148,7 @@ module Google
|
||||||
property :machine_type, as: 'machineType'
|
property :machine_type, as: 'machineType'
|
||||||
property :disk_size_gb, as: 'diskSizeGb'
|
property :disk_size_gb, as: 'diskSizeGb'
|
||||||
collection :oauth_scopes, as: 'oauthScopes'
|
collection :oauth_scopes, as: 'oauthScopes'
|
||||||
|
hash :metadata, as: 'metadata'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -139,6 +163,30 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AddonsConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
|
||||||
|
|
||||||
|
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class HttpLoadBalancing
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :disabled, as: 'disabled'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class HorizontalPodAutoscaling
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :disabled, as: 'disabled'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class CreateClusterRequest
|
class CreateClusterRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -154,6 +202,7 @@ module Google
|
||||||
property :zone, as: 'zone'
|
property :zone, as: 'zone'
|
||||||
property :operation_type, as: 'operationType'
|
property :operation_type, as: 'operationType'
|
||||||
property :status, as: 'status'
|
property :status, as: 'status'
|
||||||
|
property :detail, as: 'detail'
|
||||||
property :status_message, as: 'statusMessage'
|
property :status_message, as: 'statusMessage'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :target_link, as: 'targetLink'
|
property :target_link, as: 'targetLink'
|
||||||
|
@ -172,6 +221,10 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :desired_node_version, as: 'desiredNodeVersion'
|
property :desired_node_version, as: 'desiredNodeVersion'
|
||||||
|
property :desired_monitoring_service, as: 'desiredMonitoringService'
|
||||||
|
property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
||||||
|
|
||||||
|
property :desired_master_version, as: 'desiredMasterVersion'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -180,6 +233,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :operations, as: 'operations', class: Google::Apis::ContainerV1::Operation, decorator: Google::Apis::ContainerV1::Operation::Representation
|
collection :operations, as: 'operations', class: Google::Apis::ContainerV1::Operation, decorator: Google::Apis::ContainerV1::Operation::Representation
|
||||||
|
|
||||||
|
collection :missing_zones, as: 'missingZones'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@ module Google
|
||||||
module ContainerV1
|
module ContainerV1
|
||||||
# Google Container Engine API
|
# Google Container Engine API
|
||||||
#
|
#
|
||||||
# The Google Container Engine API is used for building and managing container
|
# Builds and manages clusters that run container-based applications, powered by
|
||||||
# based applications, powered by the open source Kubernetes technology.
|
# open source Kubernetes technology.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/container_v1'
|
# require 'google/apis/container_v1'
|
||||||
|
@ -49,11 +49,11 @@ module Google
|
||||||
|
|
||||||
# Returns configuration info about the Container Engine service.
|
# Returns configuration info about the Container Engine service.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) to
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) to
|
||||||
# return operations for, or "-" for all zones.
|
# return operations for.
|
||||||
# @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
|
||||||
|
@ -85,8 +85,8 @@ module Google
|
||||||
# Lists all clusters owned by a project in either the specified zone or all
|
# Lists all clusters owned by a project in either the specified zone or all
|
||||||
# zones.
|
# zones.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
||||||
# which the cluster resides, or "-" for all zones.
|
# which the cluster resides, or "-" for all zones.
|
||||||
|
@ -118,10 +118,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a specific cluster.
|
# Gets the details of a specific cluster.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
||||||
# which the cluster resides.
|
# which the cluster resides.
|
||||||
|
@ -157,16 +157,15 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a cluster, consisting of the specified number and type of Google
|
# Creates a cluster, consisting of the specified number and type of Google
|
||||||
# Compute Engine instances, plus a Kubernetes master endpoint. By default, the
|
# Compute Engine instances. By default, the cluster is created in the project's [
|
||||||
# cluster is created in the project's [default network](/compute/docs/networking#
|
# default network](/compute/docs/networks-and-firewalls#networks). One firewall
|
||||||
# networks_1). One firewall is added for the cluster. After cluster creation,
|
# is added for the cluster. After cluster creation, the cluster creates routes
|
||||||
# the cluster creates routes for each node to allow the containers on that node
|
# for each node to allow the containers on that node to communicate with all
|
||||||
# to communicate with all other instances in the cluster. Finally, an entry is
|
# other instances in the cluster. Finally, an entry is added to the project's
|
||||||
# added to the project's global metadata indicating which CIDR range is being
|
# global metadata indicating which CIDR range is being used by the cluster.
|
||||||
# used by the cluster.
|
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
||||||
# which the cluster resides.
|
# which the cluster resides.
|
||||||
|
@ -201,10 +200,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Update settings of a specific cluster.
|
# Updates the settings of a specific cluster.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
||||||
# which the cluster resides.
|
# which the cluster resides.
|
||||||
|
@ -244,10 +243,12 @@ module Google
|
||||||
|
|
||||||
# Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
|
# Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
|
||||||
# Firewalls and routes that were configured during cluster creation are also
|
# Firewalls and routes that were configured during cluster creation are also
|
||||||
# deleted.
|
# deleted. Other Google Compute Engine resources that might be in use by the
|
||||||
|
# cluster (e.g. load balancer resources) will not be deleted if they weren't
|
||||||
|
# present at the initial create time.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
||||||
# which the cluster resides.
|
# which the cluster resides.
|
||||||
|
@ -284,11 +285,11 @@ module Google
|
||||||
|
|
||||||
# Lists all operations in a project in a specific zone or all zones.
|
# Lists all operations in a project in a specific zone or all zones.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) to
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) to
|
||||||
# return operations for, or "-" for all zones.
|
# return operations for, or `-` for all zones.
|
||||||
# @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
|
||||||
|
@ -319,8 +320,8 @@ module Google
|
||||||
|
|
||||||
# Gets the specified operation.
|
# Gets the specified operation.
|
||||||
# @param [String] project_id
|
# @param [String] project_id
|
||||||
# The Google Developers Console [project ID or project number](https://
|
# The Google Developers Console [project ID or project number](https://support.
|
||||||
# developers.google.com/console/help/new/#projectnumber).
|
# google.com/cloud/answer/6158840).
|
||||||
# @param [String] zone
|
# @param [String] zone
|
||||||
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
# The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
|
||||||
# which the cluster resides.
|
# which the cluster resides.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/shopping-content
|
# @see https://developers.google.com/shopping-content
|
||||||
module ContentV2
|
module ContentV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160303'
|
REVISION = '20160331'
|
||||||
|
|
||||||
# Manage your product listings and accounts for Google Shopping
|
# Manage your product listings and accounts for Google Shopping
|
||||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google Cloud Datastore API
|
# Google Cloud Datastore API
|
||||||
#
|
#
|
||||||
# API for accessing Google Cloud Datastore.
|
# Stores and queries data in Google Cloud Datastore.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/datastore/
|
# @see https://developers.google.com/datastore/
|
||||||
module DatastoreV1beta2
|
module DatastoreV1beta2
|
||||||
VERSION = 'V1beta2'
|
VERSION = 'V1beta2'
|
||||||
REVISION = '20151008'
|
REVISION = '20160314'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
||||||
module DatastoreV1beta2
|
module DatastoreV1beta2
|
||||||
# Google Cloud Datastore API
|
# Google Cloud Datastore API
|
||||||
#
|
#
|
||||||
# API for accessing Google Cloud Datastore.
|
# Stores and queries data in Google Cloud Datastore.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/datastore_v1beta2'
|
# require 'google/apis/datastore_v1beta2'
|
||||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google Cloud Deployment Manager API
|
# Google Cloud Deployment Manager API
|
||||||
#
|
#
|
||||||
# The Deployment Manager API allows users to declaratively configure, deploy and
|
# Declares, configures, and deploys complex solutions on Google Cloud Platform.
|
||||||
# run complex solutions on the Google Cloud Platform.
|
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/deployment-manager/
|
# @see https://cloud.google.com/deployment-manager/
|
||||||
module DeploymentmanagerV2
|
module DeploymentmanagerV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160301'
|
REVISION = '20160406'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -103,6 +103,11 @@ module Google
|
||||||
# @return [Google::Apis::DeploymentmanagerV2::Operation]
|
# @return [Google::Apis::DeploymentmanagerV2::Operation]
|
||||||
attr_accessor :operation
|
attr_accessor :operation
|
||||||
|
|
||||||
|
# [Output Only] Self link for the deployment.
|
||||||
|
# Corresponds to the JSON property `selfLink`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :self_link
|
||||||
|
|
||||||
#
|
#
|
||||||
# Corresponds to the JSON property `target`
|
# Corresponds to the JSON property `target`
|
||||||
# @return [Google::Apis::DeploymentmanagerV2::TargetConfiguration]
|
# @return [Google::Apis::DeploymentmanagerV2::TargetConfiguration]
|
||||||
|
@ -127,6 +132,7 @@ module Google
|
||||||
@manifest = args[:manifest] if args.key?(:manifest)
|
@manifest = args[:manifest] if args.key?(:manifest)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@operation = args[:operation] if args.key?(:operation)
|
@operation = args[:operation] if args.key?(:operation)
|
||||||
|
@self_link = args[:self_link] if args.key?(:self_link)
|
||||||
@target = args[:target] if args.key?(:target)
|
@target = args[:target] if args.key?(:target)
|
||||||
@update = args[:update] if args.key?(:update)
|
@update = args[:update] if args.key?(:update)
|
||||||
end
|
end
|
||||||
|
@ -462,7 +468,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :insert_time
|
attr_accessor :insert_time
|
||||||
|
|
||||||
# [Output Only] Type of the resource. Always compute#operation for operation
|
# [Output Only] Type of the resource. Always compute#operation for Operation
|
||||||
# resources.
|
# resources.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
|
|
@ -216,6 +216,7 @@ module Google
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerV2::Operation, decorator: Google::Apis::DeploymentmanagerV2::Operation::Representation
|
property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerV2::Operation, decorator: Google::Apis::DeploymentmanagerV2::Operation::Representation
|
||||||
|
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
property :target, as: 'target', class: Google::Apis::DeploymentmanagerV2::TargetConfiguration, decorator: Google::Apis::DeploymentmanagerV2::TargetConfiguration::Representation
|
property :target, as: 'target', class: Google::Apis::DeploymentmanagerV2::TargetConfiguration, decorator: Google::Apis::DeploymentmanagerV2::TargetConfiguration::Representation
|
||||||
|
|
||||||
property :update, as: 'update', class: Google::Apis::DeploymentmanagerV2::DeploymentUpdate, decorator: Google::Apis::DeploymentmanagerV2::DeploymentUpdate::Representation
|
property :update, as: 'update', class: Google::Apis::DeploymentmanagerV2::DeploymentUpdate, decorator: Google::Apis::DeploymentmanagerV2::DeploymentUpdate::Representation
|
||||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
||||||
module DeploymentmanagerV2
|
module DeploymentmanagerV2
|
||||||
# Google Cloud Deployment Manager API
|
# Google Cloud Deployment Manager API
|
||||||
#
|
#
|
||||||
# The Deployment Manager API allows users to declaratively configure, deploy and
|
# Declares, configures, and deploys complex solutions on Google Cloud Platform.
|
||||||
# run complex solutions on the Google Cloud Platform.
|
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/deploymentmanager_v2'
|
# require 'google/apis/deploymentmanager_v2'
|
||||||
|
@ -234,11 +233,11 @@ module Google
|
||||||
# must match the entire field.
|
# must match the entire field.
|
||||||
# For example, to filter for instances that do not have a name of example-
|
# For example, to filter for instances that do not have a name of example-
|
||||||
# instance, you would use filter=name ne example-instance.
|
# instance, you would use filter=name ne example-instance.
|
||||||
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
# Compute Engine Beta API Only: When filtering in the Beta API, you can also
|
||||||
# also filter on nested fields. For example, you could filter on instances that
|
# filter on nested fields. For example, you could filter on instances that have
|
||||||
# have set the scheduling.automaticRestart field to true. In particular, use
|
# set the scheduling.automaticRestart field to true. Use filtering on nested
|
||||||
# filtering on nested fields to take advantage of instance labels to organize
|
# fields to take advantage of labels to organize and search for results based on
|
||||||
# and filter results based on label values.
|
# label values.
|
||||||
# The Beta API also supports filtering on multiple expressions by providing each
|
# The Beta API also supports filtering on multiple expressions by providing each
|
||||||
# separate expression within parentheses. For example, (scheduling.
|
# separate expression within parentheses. For example, (scheduling.
|
||||||
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
||||||
|
@ -506,11 +505,11 @@ module Google
|
||||||
# must match the entire field.
|
# must match the entire field.
|
||||||
# For example, to filter for instances that do not have a name of example-
|
# For example, to filter for instances that do not have a name of example-
|
||||||
# instance, you would use filter=name ne example-instance.
|
# instance, you would use filter=name ne example-instance.
|
||||||
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
# Compute Engine Beta API Only: When filtering in the Beta API, you can also
|
||||||
# also filter on nested fields. For example, you could filter on instances that
|
# filter on nested fields. For example, you could filter on instances that have
|
||||||
# have set the scheduling.automaticRestart field to true. In particular, use
|
# set the scheduling.automaticRestart field to true. Use filtering on nested
|
||||||
# filtering on nested fields to take advantage of instance labels to organize
|
# fields to take advantage of labels to organize and search for results based on
|
||||||
# and filter results based on label values.
|
# label values.
|
||||||
# The Beta API also supports filtering on multiple expressions by providing each
|
# The Beta API also supports filtering on multiple expressions by providing each
|
||||||
# separate expression within parentheses. For example, (scheduling.
|
# separate expression within parentheses. For example, (scheduling.
|
||||||
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
||||||
|
@ -614,11 +613,11 @@ module Google
|
||||||
# must match the entire field.
|
# must match the entire field.
|
||||||
# For example, to filter for instances that do not have a name of example-
|
# For example, to filter for instances that do not have a name of example-
|
||||||
# instance, you would use filter=name ne example-instance.
|
# instance, you would use filter=name ne example-instance.
|
||||||
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
# Compute Engine Beta API Only: When filtering in the Beta API, you can also
|
||||||
# also filter on nested fields. For example, you could filter on instances that
|
# filter on nested fields. For example, you could filter on instances that have
|
||||||
# have set the scheduling.automaticRestart field to true. In particular, use
|
# set the scheduling.automaticRestart field to true. Use filtering on nested
|
||||||
# filtering on nested fields to take advantage of instance labels to organize
|
# fields to take advantage of labels to organize and search for results based on
|
||||||
# and filter results based on label values.
|
# label values.
|
||||||
# The Beta API also supports filtering on multiple expressions by providing each
|
# The Beta API also supports filtering on multiple expressions by providing each
|
||||||
# separate expression within parentheses. For example, (scheduling.
|
# separate expression within parentheses. For example, (scheduling.
|
||||||
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
||||||
|
@ -726,11 +725,11 @@ module Google
|
||||||
# must match the entire field.
|
# must match the entire field.
|
||||||
# For example, to filter for instances that do not have a name of example-
|
# For example, to filter for instances that do not have a name of example-
|
||||||
# instance, you would use filter=name ne example-instance.
|
# instance, you would use filter=name ne example-instance.
|
||||||
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
# Compute Engine Beta API Only: When filtering in the Beta API, you can also
|
||||||
# also filter on nested fields. For example, you could filter on instances that
|
# filter on nested fields. For example, you could filter on instances that have
|
||||||
# have set the scheduling.automaticRestart field to true. In particular, use
|
# set the scheduling.automaticRestart field to true. Use filtering on nested
|
||||||
# filtering on nested fields to take advantage of instance labels to organize
|
# fields to take advantage of labels to organize and search for results based on
|
||||||
# and filter results based on label values.
|
# label values.
|
||||||
# The Beta API also supports filtering on multiple expressions by providing each
|
# The Beta API also supports filtering on multiple expressions by providing each
|
||||||
# separate expression within parentheses. For example, (scheduling.
|
# separate expression within parentheses. For example, (scheduling.
|
||||||
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
||||||
|
@ -796,11 +795,11 @@ module Google
|
||||||
# must match the entire field.
|
# must match the entire field.
|
||||||
# For example, to filter for instances that do not have a name of example-
|
# For example, to filter for instances that do not have a name of example-
|
||||||
# instance, you would use filter=name ne example-instance.
|
# instance, you would use filter=name ne example-instance.
|
||||||
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
# Compute Engine Beta API Only: When filtering in the Beta API, you can also
|
||||||
# also filter on nested fields. For example, you could filter on instances that
|
# filter on nested fields. For example, you could filter on instances that have
|
||||||
# have set the scheduling.automaticRestart field to true. In particular, use
|
# set the scheduling.automaticRestart field to true. Use filtering on nested
|
||||||
# filtering on nested fields to take advantage of instance labels to organize
|
# fields to take advantage of labels to organize and search for results based on
|
||||||
# and filter results based on label values.
|
# label values.
|
||||||
# The Beta API also supports filtering on multiple expressions by providing each
|
# The Beta API also supports filtering on multiple expressions by providing each
|
||||||
# separate expression within parentheses. For example, (scheduling.
|
# separate expression within parentheses. For example, (scheduling.
|
||||||
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
||||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# DCM/DFA Reporting And Trafficking API
|
# DCM/DFA Reporting And Trafficking API
|
||||||
#
|
#
|
||||||
# Manage your DoubleClick Campaign Manager ad campaigns and reports.
|
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/doubleclick-advertisers/reporting/
|
# @see https://developers.google.com/doubleclick-advertisers/reporting/
|
||||||
module DfareportingV2_3
|
module DfareportingV2_3
|
||||||
VERSION = 'V2_3'
|
VERSION = 'V2_3'
|
||||||
REVISION = '20160128'
|
REVISION = '20160323'
|
||||||
|
|
||||||
# View and manage DoubleClick for Advertisers reports
|
# View and manage DoubleClick for Advertisers reports
|
||||||
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
||||||
|
|
|
@ -7290,7 +7290,7 @@ module Google
|
||||||
|
|
||||||
# Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on
|
# Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on
|
||||||
# desktop or on mobile devices for regular or interstitial ads, respectively.
|
# desktop or on mobile devices for regular or interstitial ads, respectively.
|
||||||
# APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO
|
# APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO
|
||||||
# refers to rendering in in-stream video ads developed with the VAST standard.
|
# refers to rendering in in-stream video ads developed with the VAST standard.
|
||||||
# This field is required on insertion.
|
# This field is required on insertion.
|
||||||
# Corresponds to the JSON property `compatibility`
|
# Corresponds to the JSON property `compatibility`
|
||||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
||||||
module DfareportingV2_3
|
module DfareportingV2_3
|
||||||
# DCM/DFA Reporting And Trafficking API
|
# DCM/DFA Reporting And Trafficking API
|
||||||
#
|
#
|
||||||
# Manage your DoubleClick Campaign Manager ad campaigns and reports.
|
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/dfareporting_v2_3'
|
# require 'google/apis/dfareporting_v2_3'
|
||||||
|
@ -6197,7 +6197,7 @@ module Google
|
||||||
# Select only placements that are associated with these compatibilities. WEB and
|
# Select only placements that are associated with these compatibilities. WEB and
|
||||||
# WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for
|
# WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for
|
||||||
# regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for
|
# regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for
|
||||||
# rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream
|
# rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream
|
||||||
# video ads developed with the VAST standard.
|
# video ads developed with the VAST standard.
|
||||||
# @param [Array<String>, String] content_category_ids
|
# @param [Array<String>, String] content_category_ids
|
||||||
# Select only placements that are associated with these content categories.
|
# Select only placements that are associated with these content categories.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-dns
|
# @see https://developers.google.com/cloud-dns
|
||||||
module DnsV1
|
module DnsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160209'
|
REVISION = '20160224'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/doubleclick-search/
|
# @see https://developers.google.com/doubleclick-search/
|
||||||
module DoubleclicksearchV2
|
module DoubleclicksearchV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160302'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# View and manage your advertising data in DoubleClick Search
|
# View and manage your advertising data in DoubleClick Search
|
||||||
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
||||||
|
|
|
@ -98,7 +98,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :agency_id
|
attr_accessor :agency_id
|
||||||
|
|
||||||
# This field is ignored.
|
# Available to advertisers only after contacting DoubleClick Search customer
|
||||||
|
# support.
|
||||||
# Corresponds to the JSON property `attributionModel`
|
# Corresponds to the JSON property `attributionModel`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :attribution_model
|
attr_accessor :attribution_model
|
||||||
|
@ -138,7 +139,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :conversion_timestamp
|
attr_accessor :conversion_timestamp
|
||||||
|
|
||||||
# This field is ignored.
|
# Available to advertisers only after contacting DoubleClick Search customer
|
||||||
|
# support.
|
||||||
# Corresponds to the JSON property `countMillis`
|
# Corresponds to the JSON property `countMillis`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :count_millis
|
attr_accessor :count_millis
|
||||||
|
@ -219,8 +221,8 @@ module Google
|
||||||
attr_accessor :quantity_millis
|
attr_accessor :quantity_millis
|
||||||
|
|
||||||
# The revenue amount of this TRANSACTION conversion, in micros (value multiplied
|
# The revenue amount of this TRANSACTION conversion, in micros (value multiplied
|
||||||
# by 1000, no decimal). For example, to specify a revenue value of "10" enter "
|
# by 1000000, no decimal). For example, to specify a revenue value of "10" enter
|
||||||
# 10000" in your request.
|
# "10000000" (10 million) in your request.
|
||||||
# Corresponds to the JSON property `revenueMicros`
|
# Corresponds to the JSON property `revenueMicros`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :revenue_micros
|
attr_accessor :revenue_micros
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/drive/
|
# @see https://developers.google.com/drive/
|
||||||
module DriveV2
|
module DriveV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160303'
|
REVISION = '20160408'
|
||||||
|
|
||||||
# View and manage the files in your Google Drive
|
# View and manage the files in your Google Drive
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -1332,6 +1332,12 @@ module Google
|
||||||
# @return [Google::Apis::DriveV2::File::IndexableText]
|
# @return [Google::Apis::DriveV2::File::IndexableText]
|
||||||
attr_accessor :indexable_text
|
attr_accessor :indexable_text
|
||||||
|
|
||||||
|
# Whether the file was created or opened by the requesting app.
|
||||||
|
# Corresponds to the JSON property `isAppAuthorized`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_app_authorized
|
||||||
|
alias_method :is_app_authorized?, :is_app_authorized
|
||||||
|
|
||||||
# The type of file. This is always drive#file.
|
# The type of file. This is always drive#file.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1395,10 +1401,9 @@ module Google
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :open_with_links
|
attr_accessor :open_with_links
|
||||||
|
|
||||||
# The original filename if the file was uploaded manually, or the original title
|
# The original filename of the uploaded content if available, or else the
|
||||||
# if the file was inserted through the API. Note that renames of the title will
|
# original value of the title field. This is only available for files with
|
||||||
# not change the original filename. This field is only populated for files with
|
# binary content in Drive.
|
||||||
# content stored in Drive; it is not populated for Google Docs or shortcut files.
|
|
||||||
# Corresponds to the JSON property `originalFilename`
|
# Corresponds to the JSON property `originalFilename`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :original_filename
|
attr_accessor :original_filename
|
||||||
|
@ -1558,6 +1563,7 @@ module Google
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@image_media_metadata = args[:image_media_metadata] if args.key?(:image_media_metadata)
|
@image_media_metadata = args[:image_media_metadata] if args.key?(:image_media_metadata)
|
||||||
@indexable_text = args[:indexable_text] if args.key?(:indexable_text)
|
@indexable_text = args[:indexable_text] if args.key?(:indexable_text)
|
||||||
|
@is_app_authorized = args[:is_app_authorized] if args.key?(:is_app_authorized)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
@last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
|
@last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
|
||||||
|
|
|
@ -587,6 +587,7 @@ module Google
|
||||||
|
|
||||||
property :indexable_text, as: 'indexableText', class: Google::Apis::DriveV2::File::IndexableText, decorator: Google::Apis::DriveV2::File::IndexableText::Representation
|
property :indexable_text, as: 'indexableText', class: Google::Apis::DriveV2::File::IndexableText, decorator: Google::Apis::DriveV2::File::IndexableText::Representation
|
||||||
|
|
||||||
|
property :is_app_authorized, as: 'isAppAuthorized'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :labels, as: 'labels', class: Google::Apis::DriveV2::File::Labels, decorator: Google::Apis::DriveV2::File::Labels::Representation
|
property :labels, as: 'labels', class: Google::Apis::DriveV2::File::Labels, decorator: Google::Apis::DriveV2::File::Labels::Representation
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/drive/
|
# @see https://developers.google.com/drive/
|
||||||
module DriveV3
|
module DriveV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20160303'
|
REVISION = '20160408'
|
||||||
|
|
||||||
# View and manage the files in your Google Drive
|
# View and manage the files in your Google Drive
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -525,6 +525,12 @@ module Google
|
||||||
# @return [Google::Apis::DriveV3::File::ImageMediaMetadata]
|
# @return [Google::Apis::DriveV3::File::ImageMediaMetadata]
|
||||||
attr_accessor :image_media_metadata
|
attr_accessor :image_media_metadata
|
||||||
|
|
||||||
|
# Whether the file was created or opened by the requesting app.
|
||||||
|
# Corresponds to the JSON property `isAppAuthorized`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :is_app_authorized
|
||||||
|
alias_method :is_app_authorized?, :is_app_authorized
|
||||||
|
|
||||||
# This is always drive#file.
|
# This is always drive#file.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -728,6 +734,7 @@ module Google
|
||||||
@icon_link = args[:icon_link] if args.key?(:icon_link)
|
@icon_link = args[:icon_link] if args.key?(:icon_link)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@image_media_metadata = args[:image_media_metadata] if args.key?(:image_media_metadata)
|
@image_media_metadata = args[:image_media_metadata] if args.key?(:image_media_metadata)
|
||||||
|
@is_app_authorized = args[:is_app_authorized] if args.key?(:is_app_authorized)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
|
@last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user)
|
||||||
@md5_checksum = args[:md5_checksum] if args.key?(:md5_checksum)
|
@md5_checksum = args[:md5_checksum] if args.key?(:md5_checksum)
|
||||||
|
|
|
@ -308,6 +308,7 @@ module Google
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :image_media_metadata, as: 'imageMediaMetadata', class: Google::Apis::DriveV3::File::ImageMediaMetadata, decorator: Google::Apis::DriveV3::File::ImageMediaMetadata::Representation
|
property :image_media_metadata, as: 'imageMediaMetadata', class: Google::Apis::DriveV3::File::ImageMediaMetadata, decorator: Google::Apis::DriveV3::File::ImageMediaMetadata::Representation
|
||||||
|
|
||||||
|
property :is_app_authorized, as: 'isAppAuthorized'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation
|
property :last_modifying_user, as: 'lastModifyingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/fusiontables
|
# @see https://developers.google.com/fusiontables
|
||||||
module FusiontablesV2
|
module FusiontablesV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160212'
|
REVISION = '20160317'
|
||||||
|
|
||||||
# Manage your Fusion Tables
|
# Manage your Fusion Tables
|
||||||
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesConfigurationV1configuration
|
module GamesConfigurationV1configuration
|
||||||
VERSION = 'V1configuration'
|
VERSION = 'V1configuration'
|
||||||
REVISION = '20160309'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesManagementV1management
|
module GamesManagementV1management
|
||||||
VERSION = 'V1management'
|
VERSION = 'V1management'
|
||||||
REVISION = '20160309'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# Share your Google+ profile information and view and manage your game activity
|
# Share your Google+ profile information and view and manage your game activity
|
||||||
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services/
|
# @see https://developers.google.com/games/services/
|
||||||
module GamesV1
|
module GamesV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160309'
|
REVISION = '20160407'
|
||||||
|
|
||||||
# View and manage its own configuration data in your Google Drive
|
# View and manage its own configuration data in your Google Drive
|
||||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||||
|
|
|
@ -24,10 +24,10 @@ module Google
|
||||||
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
|
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
|
||||||
# extensions.
|
# extensions.
|
||||||
#
|
#
|
||||||
# @see
|
# @see https://cloud.google.com/genomics/
|
||||||
module GenomicsV1
|
module GenomicsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160309'
|
REVISION = '20160411'
|
||||||
|
|
||||||
# View and manage your data in Google BigQuery
|
# View and manage your data in Google BigQuery
|
||||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
|
@ -22,6 +22,761 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module GenomicsV1
|
module GenomicsV1
|
||||||
|
|
||||||
|
# An annotation set is a logical grouping of annotations that share consistent
|
||||||
|
# type information and provenance. Examples of annotation sets include 'all
|
||||||
|
# genes from refseq', and 'all variant annotations from ClinVar'.
|
||||||
|
class AnnotationSet
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The server-generated annotation set ID, unique across all annotation sets.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# The dataset to which this annotation set belongs.
|
||||||
|
# Corresponds to the JSON property `datasetId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :dataset_id
|
||||||
|
|
||||||
|
# The ID of the reference set that defines the coordinate space for this set's
|
||||||
|
# annotations.
|
||||||
|
# Corresponds to the JSON property `referenceSetId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reference_set_id
|
||||||
|
|
||||||
|
# The display name for this annotation set.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# The source URI describing the file from which this annotation set was
|
||||||
|
# generated, if any.
|
||||||
|
# Corresponds to the JSON property `sourceUri`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :source_uri
|
||||||
|
|
||||||
|
# The type of annotations contained within this set.
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
# A map of additional read alignment information. This must be of the form map (
|
||||||
|
# string key mapping to a list of string values).
|
||||||
|
# Corresponds to the JSON property `info`
|
||||||
|
# @return [Hash<String,Array<Object>>]
|
||||||
|
attr_accessor :info
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
||||||
|
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
@info = args[:info] if args.key?(:info)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
||||||
|
# messages in your APIs. A typical example is to use it as the request or the
|
||||||
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
||||||
|
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
||||||
|
# `Empty` is empty JSON object ````.
|
||||||
|
class Empty
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SearchAnnotationSetsRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Required. The dataset IDs to search within. Caller must have `READ` access to
|
||||||
|
# these datasets.
|
||||||
|
# Corresponds to the JSON property `datasetIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :dataset_ids
|
||||||
|
|
||||||
|
# If specified, only annotation sets associated with the given reference set are
|
||||||
|
# returned.
|
||||||
|
# Corresponds to the JSON property `referenceSetId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reference_set_id
|
||||||
|
|
||||||
|
# Only return annotations sets for which a substring of the name matches this
|
||||||
|
# string (case insensitive).
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# If specified, only annotation sets that have any of these types are returned.
|
||||||
|
# Corresponds to the JSON property `types`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :types
|
||||||
|
|
||||||
|
# The continuation token, which is used to page through large result sets. To
|
||||||
|
# get the next page of results, set this parameter to the value of `
|
||||||
|
# nextPageToken` from the previous response.
|
||||||
|
# Corresponds to the JSON property `pageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :page_token
|
||||||
|
|
||||||
|
# The maximum number of results to return in a single page. If unspecified,
|
||||||
|
# defaults to 128. The maximum value is 1024.
|
||||||
|
# Corresponds to the JSON property `pageSize`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :page_size
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
|
||||||
|
@reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@types = args[:types] if args.key?(:types)
|
||||||
|
@page_token = args[:page_token] if args.key?(:page_token)
|
||||||
|
@page_size = args[:page_size] if args.key?(:page_size)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SearchAnnotationSetsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The matching annotation sets.
|
||||||
|
# Corresponds to the JSON property `annotationSets`
|
||||||
|
# @return [Array<Google::Apis::GenomicsV1::AnnotationSet>]
|
||||||
|
attr_accessor :annotation_sets
|
||||||
|
|
||||||
|
# The continuation token, which is used to page through large result sets.
|
||||||
|
# Provide this value in a subsequent request to return the next page of results.
|
||||||
|
# This field will be empty if there aren't any additional results.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# An annotation describes a region of reference genome. The value of an
|
||||||
|
# annotation may be one of several canonical types, supplemented by arbitrary
|
||||||
|
# info tags. An annotation is not inherently associated with a specific sample
|
||||||
|
# or individual (though a client could choose to use annotations in this way).
|
||||||
|
# Example canonical annotation types are `GENE` and `VARIANT`.
|
||||||
|
class Annotation
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The server-generated annotation ID, unique across all annotations.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# The annotation set to which this annotation belongs.
|
||||||
|
# Corresponds to the JSON property `annotationSetId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :annotation_set_id
|
||||||
|
|
||||||
|
# The display name of this annotation.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# The ID of the Google Genomics reference associated with this range.
|
||||||
|
# Corresponds to the JSON property `referenceId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reference_id
|
||||||
|
|
||||||
|
# The display name corresponding to the reference specified by `referenceId`,
|
||||||
|
# for example `chr1`, `1`, or `chrX`.
|
||||||
|
# Corresponds to the JSON property `referenceName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reference_name
|
||||||
|
|
||||||
|
# The start position of the range on the reference, 0-based inclusive.
|
||||||
|
# Corresponds to the JSON property `start`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :start
|
||||||
|
|
||||||
|
# The end position of the range on the reference, 0-based exclusive.
|
||||||
|
# Corresponds to the JSON property `end`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :end
|
||||||
|
|
||||||
|
# Whether this range refers to the reverse strand, as opposed to the forward
|
||||||
|
# strand. Note that regardless of this field, the start/end position of the
|
||||||
|
# range always refer to the forward strand.
|
||||||
|
# Corresponds to the JSON property `reverseStrand`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :reverse_strand
|
||||||
|
alias_method :reverse_strand?, :reverse_strand
|
||||||
|
|
||||||
|
# The data type for this annotation. Must match the containing annotation set's
|
||||||
|
# type.
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
# A variant annotation, which describes the effect of a variant on the genome,
|
||||||
|
# the coding sequence, and/or higher level consequences at the organism level e.
|
||||||
|
# g. pathogenicity. This field is only set for annotations of type `VARIANT`.
|
||||||
|
# Corresponds to the JSON property `variant`
|
||||||
|
# @return [Google::Apis::GenomicsV1::VariantAnnotation]
|
||||||
|
attr_accessor :variant
|
||||||
|
|
||||||
|
# A transcript represents the assertion that a particular region of the
|
||||||
|
# reference genome may be transcribed as RNA.
|
||||||
|
# Corresponds to the JSON property `transcript`
|
||||||
|
# @return [Google::Apis::GenomicsV1::Transcript]
|
||||||
|
attr_accessor :transcript
|
||||||
|
|
||||||
|
# A map of additional read alignment information. This must be of the form map (
|
||||||
|
# string key mapping to a list of string values).
|
||||||
|
# Corresponds to the JSON property `info`
|
||||||
|
# @return [Hash<String,Array<Object>>]
|
||||||
|
attr_accessor :info
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
@annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
||||||
|
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
||||||
|
@start = args[:start] if args.key?(:start)
|
||||||
|
@end = args[:end] if args.key?(:end)
|
||||||
|
@reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
@variant = args[:variant] if args.key?(:variant)
|
||||||
|
@transcript = args[:transcript] if args.key?(:transcript)
|
||||||
|
@info = args[:info] if args.key?(:info)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class VariantAnnotation
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Type has been adapted from ClinVar's list of variant types.
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
# Effect of the variant on the coding sequence.
|
||||||
|
# Corresponds to the JSON property `effect`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :effect
|
||||||
|
|
||||||
|
# The alternate allele for this variant. If multiple alternate alleles exist at
|
||||||
|
# this location, create a separate variant for each one, as they may represent
|
||||||
|
# distinct conditions.
|
||||||
|
# Corresponds to the JSON property `alternateBases`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :alternate_bases
|
||||||
|
|
||||||
|
# Google annotation ID of the gene affected by this variant. This should be
|
||||||
|
# provided when the variant is created.
|
||||||
|
# Corresponds to the JSON property `geneId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :gene_id
|
||||||
|
|
||||||
|
# Google annotation IDs of the transcripts affected by this variant. These
|
||||||
|
# should be provided when the variant is created.
|
||||||
|
# Corresponds to the JSON property `transcriptIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :transcript_ids
|
||||||
|
|
||||||
|
# The set of conditions associated with this variant. A condition describes the
|
||||||
|
# way a variant influences human health.
|
||||||
|
# Corresponds to the JSON property `conditions`
|
||||||
|
# @return [Array<Google::Apis::GenomicsV1::ClinicalCondition>]
|
||||||
|
attr_accessor :conditions
|
||||||
|
|
||||||
|
# Describes the clinical significance of a variant. It is adapted from the
|
||||||
|
# ClinVar controlled vocabulary for clinical significance described at: http://
|
||||||
|
# www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
|
||||||
|
# Corresponds to the JSON property `clinicalSignificance`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :clinical_significance
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@type = args[:type] if args.key?(:type)
|
||||||
|
@effect = args[:effect] if args.key?(:effect)
|
||||||
|
@alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases)
|
||||||
|
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
||||||
|
@transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids)
|
||||||
|
@conditions = args[:conditions] if args.key?(:conditions)
|
||||||
|
@clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class ClinicalCondition
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A set of names for the condition.
|
||||||
|
# Corresponds to the JSON property `names`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :names
|
||||||
|
|
||||||
|
# The set of external IDs for this condition.
|
||||||
|
# Corresponds to the JSON property `externalIds`
|
||||||
|
# @return [Array<Google::Apis::GenomicsV1::ExternalId>]
|
||||||
|
attr_accessor :external_ids
|
||||||
|
|
||||||
|
# The MedGen concept id associated with this gene. Search for these IDs at http:/
|
||||||
|
# /www.ncbi.nlm.nih.gov/medgen/
|
||||||
|
# Corresponds to the JSON property `conceptId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :concept_id
|
||||||
|
|
||||||
|
# The OMIM id for this condition. Search for these IDs at http://omim.org/
|
||||||
|
# Corresponds to the JSON property `omimId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :omim_id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@names = args[:names] if args.key?(:names)
|
||||||
|
@external_ids = args[:external_ids] if args.key?(:external_ids)
|
||||||
|
@concept_id = args[:concept_id] if args.key?(:concept_id)
|
||||||
|
@omim_id = args[:omim_id] if args.key?(:omim_id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class ExternalId
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The name of the source of this data.
|
||||||
|
# Corresponds to the JSON property `sourceName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :source_name
|
||||||
|
|
||||||
|
# The id used by the source of this data.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@source_name = args[:source_name] if args.key?(:source_name)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# A transcript represents the assertion that a particular region of the
|
||||||
|
# reference genome may be transcribed as RNA.
|
||||||
|
class Transcript
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The annotation ID of the gene from which this transcript is transcribed.
|
||||||
|
# Corresponds to the JSON property `geneId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :gene_id
|
||||||
|
|
||||||
|
# The exons that compose this transcript. This field should be unset for genomes
|
||||||
|
# where transcript splicing does not occur, for example prokaryotes. Introns are
|
||||||
|
# regions of the transcript that are not included in the spliced RNA product.
|
||||||
|
# Though not explicitly modeled here, intron ranges can be deduced; all regions
|
||||||
|
# of this transcript that are not exons are introns. Exonic sequences do not
|
||||||
|
# necessarily code for a translational product (amino acids). Only the regions
|
||||||
|
# of exons bounded by the codingSequence correspond to coding DNA sequence.
|
||||||
|
# Exons are ordered by start position and may not overlap.
|
||||||
|
# Corresponds to the JSON property `exons`
|
||||||
|
# @return [Array<Google::Apis::GenomicsV1::Exon>]
|
||||||
|
attr_accessor :exons
|
||||||
|
|
||||||
|
# The range of the coding sequence for this transcript, if any. To determine the
|
||||||
|
# exact ranges of coding sequence, intersect this range with those of the exons,
|
||||||
|
# if any. If there are any exons, the codingSequence must start and end within
|
||||||
|
# them. Note that in some cases, the reference genome will not exactly match the
|
||||||
|
# observed mRNA transcript e.g. due to variance in the source genome from
|
||||||
|
# reference. In these cases, exon.frame will not necessarily match the expected
|
||||||
|
# reference reading frame and coding exon reference bases cannot necessarily be
|
||||||
|
# concatenated to produce the original transcript mRNA.
|
||||||
|
# Corresponds to the JSON property `codingSequence`
|
||||||
|
# @return [Google::Apis::GenomicsV1::CodingSequence]
|
||||||
|
attr_accessor :coding_sequence
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@gene_id = args[:gene_id] if args.key?(:gene_id)
|
||||||
|
@exons = args[:exons] if args.key?(:exons)
|
||||||
|
@coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class Exon
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The start position of the exon on this annotation's reference sequence, 0-
|
||||||
|
# based inclusive. Note that this is relative to the reference start, and **not**
|
||||||
|
# the containing annotation start.
|
||||||
|
# Corresponds to the JSON property `start`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :start
|
||||||
|
|
||||||
|
# The end position of the exon on this annotation's reference sequence, 0-based
|
||||||
|
# exclusive. Note that this is relative to the reference start, and *not* the
|
||||||
|
# containing annotation start.
|
||||||
|
# Corresponds to the JSON property `end`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :end
|
||||||
|
|
||||||
|
# The frame of this exon. Contains a value of 0, 1, or 2, which indicates the
|
||||||
|
# offset of the first coding base of the exon within the reading frame of the
|
||||||
|
# coding DNA sequence, if any. This field is dependent on the strandedness of
|
||||||
|
# this annotation (see Annotation.reverse_strand). For forward stranded
|
||||||
|
# annotations, this offset is relative to the exon.start. For reverse strand
|
||||||
|
# annotations, this offset is relative to the exon.end `- 1`. Unset if this exon
|
||||||
|
# does not intersect the coding sequence. Upon creation of a transcript, the
|
||||||
|
# frame must be populated for all or none of the coding exons.
|
||||||
|
# Corresponds to the JSON property `frame`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :frame
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@start = args[:start] if args.key?(:start)
|
||||||
|
@end = args[:end] if args.key?(:end)
|
||||||
|
@frame = args[:frame] if args.key?(:frame)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class CodingSequence
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The start of the coding sequence on this annotation's reference sequence, 0-
|
||||||
|
# based inclusive. Note that this position is relative to the reference start,
|
||||||
|
# and *not* the containing annotation start.
|
||||||
|
# Corresponds to the JSON property `start`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :start
|
||||||
|
|
||||||
|
# The end of the coding sequence on this annotation's reference sequence, 0-
|
||||||
|
# based exclusive. Note that this position is relative to the reference start,
|
||||||
|
# and *not* the containing annotation start.
|
||||||
|
# Corresponds to the JSON property `end`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :end
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@start = args[:start] if args.key?(:start)
|
||||||
|
@end = args[:end] if args.key?(:end)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class BatchCreateAnnotationsRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The annotations to be created. At most 4096 can be specified in a single
|
||||||
|
# request.
|
||||||
|
# Corresponds to the JSON property `annotations`
|
||||||
|
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
||||||
|
attr_accessor :annotations
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@annotations = args[:annotations] if args.key?(:annotations)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class BatchCreateAnnotationsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The resulting per-annotation entries, ordered consistently with the original
|
||||||
|
# request.
|
||||||
|
# Corresponds to the JSON property `entries`
|
||||||
|
# @return [Array<Google::Apis::GenomicsV1::Entry>]
|
||||||
|
attr_accessor :entries
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@entries = args[:entries] if args.key?(:entries)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class Entry
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
|
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
||||||
|
# use and understand for most users - Flexible enough to meet unexpected needs #
|
||||||
|
# Overview The `Status` message contains three pieces of data: error code, error
|
||||||
|
# message, and error details. The error code should be an enum value of google.
|
||||||
|
# rpc.Code, but it may accept additional error codes if needed. The error
|
||||||
|
# message should be a developer-facing English message that helps developers *
|
||||||
|
# understand* and *resolve* the error. If a localized user-facing error message
|
||||||
|
# is needed, put the localized message in the error details or localize it in
|
||||||
|
# the client. The optional error details may contain arbitrary information about
|
||||||
|
# the error. There is a predefined set of error detail types in the package `
|
||||||
|
# google.rpc` which can be used for common error conditions. # Language mapping
|
||||||
|
# The `Status` message is the logical representation of the error model, but it
|
||||||
|
# is not necessarily the actual wire format. When the `Status` message is
|
||||||
|
# exposed in different client libraries and different wire protocols, it can be
|
||||||
|
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||||
|
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
||||||
|
# error model and the `Status` message can be used in a variety of environments,
|
||||||
|
# either with or without APIs, to provide a consistent developer experience
|
||||||
|
# across different environments. Example uses of this error model include: -
|
||||||
|
# Partial errors. If a service needs to return partial errors to the client, it
|
||||||
|
# may embed the `Status` in the normal response to indicate the partial errors. -
|
||||||
|
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
||||||
|
# Status` message for error reporting purpose. - Batch operations. If a client
|
||||||
|
# uses batch request and batch response, the `Status` message should be used
|
||||||
|
# directly inside batch response, one for each error sub-response. -
|
||||||
|
# Asynchronous operations. If an API call embeds asynchronous operation results
|
||||||
|
# in its response, the status of those operations should be represented directly
|
||||||
|
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
||||||
|
# the message `Status` could be used directly after any stripping needed for
|
||||||
|
# security/privacy reasons.
|
||||||
|
# Corresponds to the JSON property `status`
|
||||||
|
# @return [Google::Apis::GenomicsV1::Status]
|
||||||
|
attr_accessor :status
|
||||||
|
|
||||||
|
# An annotation describes a region of reference genome. The value of an
|
||||||
|
# annotation may be one of several canonical types, supplemented by arbitrary
|
||||||
|
# info tags. An annotation is not inherently associated with a specific sample
|
||||||
|
# or individual (though a client could choose to use annotations in this way).
|
||||||
|
# Example canonical annotation types are `GENE` and `VARIANT`.
|
||||||
|
# Corresponds to the JSON property `annotation`
|
||||||
|
# @return [Google::Apis::GenomicsV1::Annotation]
|
||||||
|
attr_accessor :annotation
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@status = args[:status] if args.key?(:status)
|
||||||
|
@annotation = args[:annotation] if args.key?(:annotation)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
|
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
||||||
|
# use and understand for most users - Flexible enough to meet unexpected needs #
|
||||||
|
# Overview The `Status` message contains three pieces of data: error code, error
|
||||||
|
# message, and error details. The error code should be an enum value of google.
|
||||||
|
# rpc.Code, but it may accept additional error codes if needed. The error
|
||||||
|
# message should be a developer-facing English message that helps developers *
|
||||||
|
# understand* and *resolve* the error. If a localized user-facing error message
|
||||||
|
# is needed, put the localized message in the error details or localize it in
|
||||||
|
# the client. The optional error details may contain arbitrary information about
|
||||||
|
# the error. There is a predefined set of error detail types in the package `
|
||||||
|
# google.rpc` which can be used for common error conditions. # Language mapping
|
||||||
|
# The `Status` message is the logical representation of the error model, but it
|
||||||
|
# is not necessarily the actual wire format. When the `Status` message is
|
||||||
|
# exposed in different client libraries and different wire protocols, it can be
|
||||||
|
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||||
|
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
||||||
|
# error model and the `Status` message can be used in a variety of environments,
|
||||||
|
# either with or without APIs, to provide a consistent developer experience
|
||||||
|
# across different environments. Example uses of this error model include: -
|
||||||
|
# Partial errors. If a service needs to return partial errors to the client, it
|
||||||
|
# may embed the `Status` in the normal response to indicate the partial errors. -
|
||||||
|
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
||||||
|
# Status` message for error reporting purpose. - Batch operations. If a client
|
||||||
|
# uses batch request and batch response, the `Status` message should be used
|
||||||
|
# directly inside batch response, one for each error sub-response. -
|
||||||
|
# Asynchronous operations. If an API call embeds asynchronous operation results
|
||||||
|
# in its response, the status of those operations should be represented directly
|
||||||
|
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
||||||
|
# the message `Status` could be used directly after any stripping needed for
|
||||||
|
# security/privacy reasons.
|
||||||
|
class Status
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The status code, which should be an enum value of google.rpc.Code.
|
||||||
|
# Corresponds to the JSON property `code`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :code
|
||||||
|
|
||||||
|
# A developer-facing error message, which should be in English. Any user-facing
|
||||||
|
# error message should be localized and sent in the google.rpc.Status.details
|
||||||
|
# field, or localized by the client.
|
||||||
|
# Corresponds to the JSON property `message`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :message
|
||||||
|
|
||||||
|
# A list of messages that carry the error details. There will be a common set of
|
||||||
|
# message types for APIs to use.
|
||||||
|
# Corresponds to the JSON property `details`
|
||||||
|
# @return [Array<Hash<String,Object>>]
|
||||||
|
attr_accessor :details
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@code = args[:code] if args.key?(:code)
|
||||||
|
@message = args[:message] if args.key?(:message)
|
||||||
|
@details = args[:details] if args.key?(:details)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SearchAnnotationsRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Required. The annotation sets to search within. The caller must have `READ`
|
||||||
|
# access to these annotation sets. All queried annotation sets must have the
|
||||||
|
# same type.
|
||||||
|
# Corresponds to the JSON property `annotationSetIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :annotation_set_ids
|
||||||
|
|
||||||
|
# The ID of the reference to query.
|
||||||
|
# Corresponds to the JSON property `referenceId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reference_id
|
||||||
|
|
||||||
|
# The name of the reference to query, within the reference set associated with
|
||||||
|
# this query.
|
||||||
|
# Corresponds to the JSON property `referenceName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :reference_name
|
||||||
|
|
||||||
|
# The start position of the range on the reference, 0-based inclusive. If
|
||||||
|
# specified, referenceId or referenceName must be specified. Defaults to 0.
|
||||||
|
# Corresponds to the JSON property `start`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :start
|
||||||
|
|
||||||
|
# The end position of the range on the reference, 0-based exclusive. If
|
||||||
|
# referenceId or referenceName must be specified, Defaults to the length of the
|
||||||
|
# reference.
|
||||||
|
# Corresponds to the JSON property `end`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :end
|
||||||
|
|
||||||
|
# The continuation token, which is used to page through large result sets. To
|
||||||
|
# get the next page of results, set this parameter to the value of `
|
||||||
|
# nextPageToken` from the previous response.
|
||||||
|
# Corresponds to the JSON property `pageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :page_token
|
||||||
|
|
||||||
|
# The maximum number of results to return in a single page. If unspecified,
|
||||||
|
# defaults to 256. The maximum value is 2048.
|
||||||
|
# Corresponds to the JSON property `pageSize`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :page_size
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids)
|
||||||
|
@reference_id = args[:reference_id] if args.key?(:reference_id)
|
||||||
|
@reference_name = args[:reference_name] if args.key?(:reference_name)
|
||||||
|
@start = args[:start] if args.key?(:start)
|
||||||
|
@end = args[:end] if args.key?(:end)
|
||||||
|
@page_token = args[:page_token] if args.key?(:page_token)
|
||||||
|
@page_size = args[:page_size] if args.key?(:page_size)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SearchAnnotationsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The matching annotations.
|
||||||
|
# Corresponds to the JSON property `annotations`
|
||||||
|
# @return [Array<Google::Apis::GenomicsV1::Annotation>]
|
||||||
|
attr_accessor :annotations
|
||||||
|
|
||||||
|
# The continuation token, which is used to page through large result sets.
|
||||||
|
# Provide this value in a subsequent request to return the next page of results.
|
||||||
|
# This field will be empty if there aren't any additional results.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@annotations = args[:annotations] if args.key?(:annotations)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The dataset list response.
|
# The dataset list response.
|
||||||
class ListDatasetsResponse
|
class ListDatasetsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -88,23 +843,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
||||||
# messages in your APIs. A typical example is to use it as the request or the
|
|
||||||
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
||||||
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
||||||
# `Empty` is empty JSON object ````.
|
|
||||||
class Empty
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
#
|
#
|
||||||
class UndeleteDatasetRequest
|
class UndeleteDatasetRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -368,71 +1106,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
||||||
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
|
||||||
# use and understand for most users - Flexible enough to meet unexpected needs #
|
|
||||||
# Overview The `Status` message contains three pieces of data: error code, error
|
|
||||||
# message, and error details. The error code should be an enum value of google.
|
|
||||||
# rpc.Code, but it may accept additional error codes if needed. The error
|
|
||||||
# message should be a developer-facing English message that helps developers *
|
|
||||||
# understand* and *resolve* the error. If a localized user-facing error message
|
|
||||||
# is needed, put the localized message in the error details or localize it in
|
|
||||||
# the client. The optional error details may contain arbitrary information about
|
|
||||||
# the error. There is a predefined set of error detail types in the package `
|
|
||||||
# google.rpc` which can be used for common error conditions. # Language mapping
|
|
||||||
# The `Status` message is the logical representation of the error model, but it
|
|
||||||
# is not necessarily the actual wire format. When the `Status` message is
|
|
||||||
# exposed in different client libraries and different wire protocols, it can be
|
|
||||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
||||||
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
|
||||||
# error model and the `Status` message can be used in a variety of environments,
|
|
||||||
# either with or without APIs, to provide a consistent developer experience
|
|
||||||
# across different environments. Example uses of this error model include: -
|
|
||||||
# Partial errors. If a service needs to return partial errors to the client, it
|
|
||||||
# may embed the `Status` in the normal response to indicate the partial errors. -
|
|
||||||
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
|
||||||
# Status` message for error reporting purpose. - Batch operations. If a client
|
|
||||||
# uses batch request and batch response, the `Status` message should be used
|
|
||||||
# directly inside batch response, one for each error sub-response. -
|
|
||||||
# Asynchronous operations. If an API call embeds asynchronous operation results
|
|
||||||
# in its response, the status of those operations should be represented directly
|
|
||||||
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
|
||||||
# the message `Status` could be used directly after any stripping needed for
|
|
||||||
# security/privacy reasons.
|
|
||||||
class Status
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The status code, which should be an enum value of google.rpc.Code.
|
|
||||||
# Corresponds to the JSON property `code`
|
|
||||||
# @return [Fixnum]
|
|
||||||
attr_accessor :code
|
|
||||||
|
|
||||||
# A developer-facing error message, which should be in English. Any user-facing
|
|
||||||
# error message should be localized and sent in the google.rpc.Status.details
|
|
||||||
# field, or localized by the client.
|
|
||||||
# Corresponds to the JSON property `message`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :message
|
|
||||||
|
|
||||||
# A list of messages that carry the error details. There will be a common set of
|
|
||||||
# message types for APIs to use.
|
|
||||||
# Corresponds to the JSON property `details`
|
|
||||||
# @return [Array<Hash<String,Object>>]
|
|
||||||
attr_accessor :details
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@code = args[:code] if args.key?(:code)
|
|
||||||
@message = args[:message] if args.key?(:message)
|
|
||||||
@details = args[:details] if args.key?(:details)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# The response message for Operations.ListOperations.
|
# The response message for Operations.ListOperations.
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1792,6 +2465,13 @@ module Google
|
||||||
attr_accessor :normalize_reference_names
|
attr_accessor :normalize_reference_names
|
||||||
alias_method :normalize_reference_names?, :normalize_reference_names
|
alias_method :normalize_reference_names?, :normalize_reference_names
|
||||||
|
|
||||||
|
# A mapping between info field keys and the InfoMergeOperations to be performed
|
||||||
|
# on them. This is plumbed down to the MergeVariantRequests generated by the
|
||||||
|
# resulting import job.
|
||||||
|
# Corresponds to the JSON property `infoMergeConfig`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :info_merge_config
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -1802,6 +2482,7 @@ module Google
|
||||||
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
||||||
@format = args[:format] if args.key?(:format)
|
@format = args[:format] if args.key?(:format)
|
||||||
@normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
|
@normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
|
||||||
|
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -2352,6 +3033,12 @@ module Google
|
||||||
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
# @return [Array<Google::Apis::GenomicsV1::Variant>]
|
||||||
attr_accessor :variants
|
attr_accessor :variants
|
||||||
|
|
||||||
|
# A mapping between info field keys and the InfoMergeOperations to be performed
|
||||||
|
# on them.
|
||||||
|
# Corresponds to the JSON property `infoMergeConfig`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :info_merge_config
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -2360,6 +3047,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
@variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
|
||||||
@variants = args[:variants] if args.key?(:variants)
|
@variants = args[:variants] if args.key?(:variants)
|
||||||
|
@info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,108 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module GenomicsV1
|
module GenomicsV1
|
||||||
|
|
||||||
|
class AnnotationSet
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationSetsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationSetsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Annotation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class VariantAnnotation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClinicalCondition
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ExternalId
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Transcript
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Exon
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class CodingSequence
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class BatchCreateAnnotationsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class BatchCreateAnnotationsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Entry
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Status
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListDatasetsResponse
|
class ListDatasetsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -34,12 +136,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class UndeleteDatasetRequest
|
class UndeleteDatasetRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -88,12 +184,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Status
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -388,6 +478,192 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AnnotationSet
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :dataset_id, as: 'datasetId'
|
||||||
|
property :reference_set_id, as: 'referenceSetId'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :source_uri, as: 'sourceUri'
|
||||||
|
property :type, as: 'type'
|
||||||
|
hash :info, as: 'info', :class => Array do
|
||||||
|
include Representable::JSON::Collection
|
||||||
|
items
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationSetsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :dataset_ids, as: 'datasetIds'
|
||||||
|
property :reference_set_id, as: 'referenceSetId'
|
||||||
|
property :name, as: 'name'
|
||||||
|
collection :types, as: 'types'
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationSetsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Annotation
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :annotation_set_id, as: 'annotationSetId'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :reference_id, as: 'referenceId'
|
||||||
|
property :reference_name, as: 'referenceName'
|
||||||
|
property :start, as: 'start'
|
||||||
|
property :end, as: 'end'
|
||||||
|
property :reverse_strand, as: 'reverseStrand'
|
||||||
|
property :type, as: 'type'
|
||||||
|
property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation
|
||||||
|
|
||||||
|
property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation
|
||||||
|
|
||||||
|
hash :info, as: 'info', :class => Array do
|
||||||
|
include Representable::JSON::Collection
|
||||||
|
items
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class VariantAnnotation
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :type, as: 'type'
|
||||||
|
property :effect, as: 'effect'
|
||||||
|
property :alternate_bases, as: 'alternateBases'
|
||||||
|
property :gene_id, as: 'geneId'
|
||||||
|
collection :transcript_ids, as: 'transcriptIds'
|
||||||
|
collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::ClinicalCondition, decorator: Google::Apis::GenomicsV1::ClinicalCondition::Representation
|
||||||
|
|
||||||
|
property :clinical_significance, as: 'clinicalSignificance'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ClinicalCondition
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :names, as: 'names'
|
||||||
|
collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation
|
||||||
|
|
||||||
|
property :concept_id, as: 'conceptId'
|
||||||
|
property :omim_id, as: 'omimId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ExternalId
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :source_name, as: 'sourceName'
|
||||||
|
property :id, as: 'id'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Transcript
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :gene_id, as: 'geneId'
|
||||||
|
collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation
|
||||||
|
|
||||||
|
property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Exon
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :start, as: 'start'
|
||||||
|
property :end, as: 'end'
|
||||||
|
property :frame, as: 'frame'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class CodingSequence
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :start, as: 'start'
|
||||||
|
property :end, as: 'end'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BatchCreateAnnotationsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class BatchCreateAnnotationsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Entry
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :status, as: 'status', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
|
||||||
|
|
||||||
|
property :annotation, as: 'annotation', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Status
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
property :message, as: 'message'
|
||||||
|
collection :details, as: 'details'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :annotation_set_ids, as: 'annotationSetIds'
|
||||||
|
property :reference_id, as: 'referenceId'
|
||||||
|
property :reference_name, as: 'referenceName'
|
||||||
|
property :start, as: 'start'
|
||||||
|
property :end, as: 'end'
|
||||||
|
property :page_token, as: 'pageToken'
|
||||||
|
property :page_size, as: 'pageSize'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchAnnotationsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListDatasetsResponse
|
class ListDatasetsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -407,12 +683,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class UndeleteDatasetRequest
|
class UndeleteDatasetRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -477,15 +747,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Status
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :code, as: 'code'
|
|
||||||
property :message, as: 'message'
|
|
||||||
collection :details, as: 'details'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -812,6 +1073,7 @@ module Google
|
||||||
collection :source_uris, as: 'sourceUris'
|
collection :source_uris, as: 'sourceUris'
|
||||||
property :format, as: 'format'
|
property :format, as: 'format'
|
||||||
property :normalize_reference_names, as: 'normalizeReferenceNames'
|
property :normalize_reference_names, as: 'normalizeReferenceNames'
|
||||||
|
hash :info_merge_config, as: 'infoMergeConfig'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -952,6 +1214,7 @@ module Google
|
||||||
property :variant_set_id, as: 'variantSetId'
|
property :variant_set_id, as: 'variantSetId'
|
||||||
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
|
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
|
||||||
|
|
||||||
|
hash :info_merge_config, as: 'infoMergeConfig'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ module Google
|
||||||
# Genomics = Google::Apis::GenomicsV1 # Alias the module
|
# Genomics = Google::Apis::GenomicsV1 # Alias the module
|
||||||
# service = Genomics::GenomicsService.new
|
# service = Genomics::GenomicsService.new
|
||||||
#
|
#
|
||||||
# @see
|
# @see https://cloud.google.com/genomics/
|
||||||
class GenomicsService < Google::Apis::Core::BaseService
|
class GenomicsService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
@ -48,6 +48,386 @@ module Google
|
||||||
super('https://genomics.googleapis.com/', '')
|
super('https://genomics.googleapis.com/', '')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Creates a new annotation set. Caller must have WRITE permission for the
|
||||||
|
# associated dataset. The following fields are required: * datasetId *
|
||||||
|
# referenceSetId All other fields may be optionally specified, unless documented
|
||||||
|
# as being server-generated (for example, the `id` field).
|
||||||
|
# @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_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::GenomicsV1::AnnotationSet] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::AnnotationSet]
|
||||||
|
#
|
||||||
|
# @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 create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/annotationsets', options)
|
||||||
|
command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
||||||
|
command.request_object = annotation_set_object
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::AnnotationSet
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Gets an annotation set. Caller must have READ permission for the associated
|
||||||
|
# dataset.
|
||||||
|
# @param [String] annotation_set_id
|
||||||
|
# The ID of the annotation set to be retrieved.
|
||||||
|
# @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::GenomicsV1::AnnotationSet] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::AnnotationSet]
|
||||||
|
#
|
||||||
|
# @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 get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options)
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::AnnotationSet
|
||||||
|
command.params['annotationSetId'] = annotation_set_id unless annotation_set_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
|
||||||
|
|
||||||
|
# Updates an annotation set. The update must respect all mutability restrictions
|
||||||
|
# and other invariants described on the annotation set resource. Caller must
|
||||||
|
# have WRITE permission for the associated dataset.
|
||||||
|
# @param [String] annotation_set_id
|
||||||
|
# The ID of the annotation set to be updated.
|
||||||
|
# @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object
|
||||||
|
# @param [String] update_mask
|
||||||
|
# An optional mask specifying which fields to update. Mutable fields are name,
|
||||||
|
# source_uri, and info. If unspecified, all mutable fields will be updated.
|
||||||
|
# @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::GenomicsV1::AnnotationSet] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::AnnotationSet]
|
||||||
|
#
|
||||||
|
# @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_annotationset(annotation_set_id, annotation_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'v1/annotationsets/{annotationSetId}', options)
|
||||||
|
command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
||||||
|
command.request_object = annotation_set_object
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::AnnotationSet
|
||||||
|
command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
|
||||||
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes an annotation set. Caller must have WRITE permission for the
|
||||||
|
# associated annotation set.
|
||||||
|
# @param [String] annotation_set_id
|
||||||
|
# The ID of the annotation set to be deleted.
|
||||||
|
# @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::GenomicsV1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::Empty]
|
||||||
|
#
|
||||||
|
# @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 delete_annotationset(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1/annotationsets/{annotationSetId}', options)
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::Empty
|
||||||
|
command.params['annotationSetId'] = annotation_set_id unless annotation_set_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
|
||||||
|
|
||||||
|
# Searches for annotation sets that match the given criteria. Annotation sets
|
||||||
|
# are returned in an unspecified order. This order is consistent, such that two
|
||||||
|
# queries for the same content (regardless of page size) yield annotation sets
|
||||||
|
# in the same order across their respective streams of paginated responses.
|
||||||
|
# Caller must have READ permission for the queried datasets.
|
||||||
|
# @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_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::GenomicsV1::SearchAnnotationSetsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse]
|
||||||
|
#
|
||||||
|
# @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 search_annotationset_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/annotationsets/search', options)
|
||||||
|
command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsRequest::Representation
|
||||||
|
command.request_object = search_annotation_sets_request_object
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse
|
||||||
|
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 new annotation. Caller must have WRITE permission for the associated
|
||||||
|
# annotation set. The following fields are required: * annotationSetId *
|
||||||
|
# referenceName or referenceId ### Transcripts For annotations of type
|
||||||
|
# TRANSCRIPT, the following fields of transcript must be provided: * exons.start
|
||||||
|
# * exons.end All other fields may be optionally specified, unless documented as
|
||||||
|
# being server-generated (for example, the `id` field). The annotated range must
|
||||||
|
# be no longer than 100Mbp (mega base pairs). See the Annotation resource for
|
||||||
|
# additional restrictions on each field.
|
||||||
|
# @param [Google::Apis::GenomicsV1::Annotation] annotation_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::GenomicsV1::Annotation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::Annotation]
|
||||||
|
#
|
||||||
|
# @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 create_annotation(annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/annotations', options)
|
||||||
|
command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
command.request_object = annotation_object
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::Annotation
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Creates one or more new annotations atomically. All annotations must belong to
|
||||||
|
# the same annotation set. Caller must have WRITE permission for this annotation
|
||||||
|
# set. For optimal performance, batch positionally adjacent annotations together.
|
||||||
|
# If the request has a systemic issue, such as an attempt to write to an
|
||||||
|
# inaccessible annotation set, the entire RPC will fail accordingly. For lesser
|
||||||
|
# data issues, when possible an error will be isolated to the corresponding
|
||||||
|
# batch entry in the response; the remaining well formed annotations will be
|
||||||
|
# created normally. For details on the requirements for each individual
|
||||||
|
# annotation resource, see CreateAnnotation.
|
||||||
|
# @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_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::GenomicsV1::BatchCreateAnnotationsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse]
|
||||||
|
#
|
||||||
|
# @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 batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/annotations:batchCreate', options)
|
||||||
|
command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation
|
||||||
|
command.request_object = batch_create_annotations_request_object
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Gets an annotation. Caller must have READ permission for the associated
|
||||||
|
# annotation set.
|
||||||
|
# @param [String] annotation_id
|
||||||
|
# The ID of the annotation to be retrieved.
|
||||||
|
# @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::GenomicsV1::Annotation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::Annotation]
|
||||||
|
#
|
||||||
|
# @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 get_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/annotations/{annotationId}', options)
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::Annotation
|
||||||
|
command.params['annotationId'] = annotation_id unless annotation_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
|
||||||
|
|
||||||
|
# Updates an annotation. Caller must have WRITE permission for the associated
|
||||||
|
# dataset.
|
||||||
|
# @param [String] annotation_id
|
||||||
|
# The ID of the annotation to be updated.
|
||||||
|
# @param [Google::Apis::GenomicsV1::Annotation] annotation_object
|
||||||
|
# @param [String] update_mask
|
||||||
|
# An optional mask specifying which fields to update. Mutable fields are name,
|
||||||
|
# variant, transcript, and info. If unspecified, all mutable fields will be
|
||||||
|
# updated.
|
||||||
|
# @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::GenomicsV1::Annotation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::Annotation]
|
||||||
|
#
|
||||||
|
# @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_annotation(annotation_id, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'v1/annotations/{annotationId}', options)
|
||||||
|
command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
command.request_object = annotation_object
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::Annotation
|
||||||
|
command.params['annotationId'] = annotation_id unless annotation_id.nil?
|
||||||
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes an annotation. Caller must have WRITE permission for the associated
|
||||||
|
# annotation set.
|
||||||
|
# @param [String] annotation_id
|
||||||
|
# The ID of the annotation to be deleted.
|
||||||
|
# @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::GenomicsV1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::Empty]
|
||||||
|
#
|
||||||
|
# @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 delete_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options)
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::Empty
|
||||||
|
command.params['annotationId'] = annotation_id unless annotation_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
|
||||||
|
|
||||||
|
# Searches for annotations that match the given criteria. Results are ordered by
|
||||||
|
# genomic coordinate (by reference sequence, then position). Annotations with
|
||||||
|
# equivalent genomic coordinates are returned in an unspecified order. This
|
||||||
|
# order is consistent, such that two queries for the same content (regardless of
|
||||||
|
# page size) yield annotations in the same order across their respective streams
|
||||||
|
# of paginated responses. Caller must have READ permission for the queried
|
||||||
|
# annotation sets.
|
||||||
|
# @param [Google::Apis::GenomicsV1::SearchAnnotationsRequest] search_annotations_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::GenomicsV1::SearchAnnotationsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::GenomicsV1::SearchAnnotationsResponse]
|
||||||
|
#
|
||||||
|
# @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 search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/annotations/search', options)
|
||||||
|
command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationsRequest::Representation
|
||||||
|
command.request_object = search_annotations_request_object
|
||||||
|
command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::GenomicsV1::SearchAnnotationsResponse
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Lists datasets within a project. For the definitions of datasets and other
|
# Lists datasets within a project. For the definitions of datasets and other
|
||||||
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
||||||
# com/genomics/fundamentals-of-google-genomics)
|
# com/genomics/fundamentals-of-google-genomics)
|
||||||
|
@ -193,9 +573,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a dataset. For the definitions of datasets and other genomics
|
# Deletes a dataset and all of its contents (all read group sets, reference sets,
|
||||||
# resources, see [Fundamentals of Google Genomics](https://cloud.google.com/
|
# variant sets, call sets, annotation sets, etc.) This is reversible (up to one
|
||||||
# genomics/fundamentals-of-google-genomics)
|
# week after the deletion) via the datasets.undelete operation. For the
|
||||||
|
# definitions of datasets and other genomics resources, see [Fundamentals of
|
||||||
|
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
||||||
|
# genomics)
|
||||||
# @param [String] dataset_id
|
# @param [String] dataset_id
|
||||||
# The ID of the dataset to be deleted.
|
# The ID of the dataset to be deleted.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -1046,13 +1429,11 @@ module Google
|
||||||
# any existing variant that matches its reference sequence, start, end,
|
# any existing variant that matches its reference sequence, start, end,
|
||||||
# reference bases, and alternative bases. If no such variant exists, a new one
|
# reference bases, and alternative bases. If no such variant exists, a new one
|
||||||
# will be created. When variants are merged, the call information from the new
|
# will be created. When variants are merged, the call information from the new
|
||||||
# variant is added to the existing variant, and other fields (such as key/value
|
# variant is added to the existing variant, and Variant info fields are merged
|
||||||
# pairs) are discarded. In particular, this means for merged VCF variants that
|
# as specified in infoMergeConfig. As a special case, for single-sample VCF
|
||||||
# have conflicting INFO fields, some data will be arbitrarily discarded. As a
|
# files, QUAL and FILTER fields will be moved to the call level; these are
|
||||||
# special case, for single-sample VCF files, QUAL and FILTER fields will be
|
# sometimes interpreted in a call-specific context. Imported VCF headers are
|
||||||
# moved to the call level; these are sometimes interpreted in a call-specific
|
# appended to the metadata already in a variant set.
|
||||||
# context. Imported VCF headers are appended to the metadata already in a
|
|
||||||
# variant set.
|
|
||||||
# @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object
|
# @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_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.
|
||||||
|
@ -1259,8 +1640,26 @@ module Google
|
||||||
# variant will be merged with an existing variant that matches its reference
|
# variant will be merged with an existing variant that matches its reference
|
||||||
# sequence, start, end, reference bases, and alternative bases. If no such
|
# sequence, start, end, reference bases, and alternative bases. If no such
|
||||||
# variant exists, a new one will be created. When variants are merged, the call
|
# variant exists, a new one will be created. When variants are merged, the call
|
||||||
# information from the new variant is added to the existing variant, and other
|
# information from the new variant is added to the existing variant. Variant
|
||||||
# fields (such as key/value pairs) are discarded.
|
# info fields are merged as specified in the infoMergeConfig field of the
|
||||||
|
# MergeVariantsRequest. Please exercise caution when using this method! It is
|
||||||
|
# easy to introduce mistakes in existing variants and difficult to back out of
|
||||||
|
# them. For example, suppose you were trying to merge a new variant with an
|
||||||
|
# existing one and both variants contain calls that belong to callsets with the
|
||||||
|
# same callset ID. // Existing variant - irrelevant fields trimmed for clarity `
|
||||||
|
# "variantSetId": "10473108253681171589", "referenceName": "1", "start": "10582",
|
||||||
|
# "referenceBases": "G", "alternateBases": [ "A" ], "calls": [ ` "callSetId": "
|
||||||
|
# 10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 0, 1 ], ` ] `
|
||||||
|
# // New variant with conflicting call information ` "variantSetId": "
|
||||||
|
# 10473108253681171589", "referenceName": "1", "start": "10582", "referenceBases"
|
||||||
|
# : "G", "alternateBases": [ "A" ], "calls": [ ` "callSetId": "
|
||||||
|
# 10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 1, 1 ], ` ] `
|
||||||
|
# The resulting merged variant would overwrite the existing calls with those
|
||||||
|
# from the new variant: ` "variantSetId": "10473108253681171589", "referenceName"
|
||||||
|
# : "1", "start": "10582", "referenceBases": "G", "alternateBases": [ "A" ], "
|
||||||
|
# calls": [ ` "callSetId": "10473108253681171589-0", "callSetName": "CALLSET0", "
|
||||||
|
# genotype": [ 1, 1 ], ` ] ` This may be the desired outcome, but it is up to
|
||||||
|
# the user to determine if if that is indeed the case.
|
||||||
# @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object
|
# @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_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.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/gmail/api/
|
# @see https://developers.google.com/gmail/api/
|
||||||
module GmailV1
|
module GmailV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160301'
|
REVISION = '20160316'
|
||||||
|
|
||||||
# View and manage your mail
|
# View and manage your mail
|
||||||
AUTH_SCOPE = 'https://mail.google.com/'
|
AUTH_SCOPE = 'https://mail.google.com/'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/google-apps/groups-settings/get_started
|
# @see https://developers.google.com/google-apps/groups-settings/get_started
|
||||||
module GroupssettingsV1
|
module GroupssettingsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20140428'
|
REVISION = '20160323'
|
||||||
|
|
||||||
# View and manage the settings of a Google Apps Group
|
# View and manage the settings of a Google Apps Group
|
||||||
AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'
|
AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'
|
||||||
|
|
|
@ -136,15 +136,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :spam_moderation_level
|
attr_accessor :spam_moderation_level
|
||||||
|
|
||||||
# Permission to contact owner of the group via web UI. Possbile values are:
|
# Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD
|
||||||
|
# ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
|
||||||
|
# Corresponds to the JSON property `whoCanAdd`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :who_can_add
|
||||||
|
|
||||||
|
# Permission to contact owner of the group via web UI. Possible values are:
|
||||||
# ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT
|
# ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT
|
||||||
# ALL_MANAGERS_CAN_CONTACT
|
# ALL_MANAGERS_CAN_CONTACT
|
||||||
# Corresponds to the JSON property `whoCanContactOwner`
|
# Corresponds to the JSON property `whoCanContactOwner`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :who_can_contact_owner
|
attr_accessor :who_can_contact_owner
|
||||||
|
|
||||||
# Permissions to invite members. Possbile values are: ALL_MEMBERS_CAN_INVITE
|
# Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE
|
||||||
# ALL_MANAGERS_CAN_INVITE
|
# ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE
|
||||||
# Corresponds to the JSON property `whoCanInvite`
|
# Corresponds to the JSON property `whoCanInvite`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :who_can_invite
|
attr_accessor :who_can_invite
|
||||||
|
@ -156,7 +162,7 @@ module Google
|
||||||
attr_accessor :who_can_join
|
attr_accessor :who_can_join
|
||||||
|
|
||||||
# Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE
|
# Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE
|
||||||
# ALL_MEMBERS_CAN_LEAVE
|
# ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
|
||||||
# Corresponds to the JSON property `whoCanLeaveGroup`
|
# Corresponds to the JSON property `whoCanLeaveGroup`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :who_can_leave_group
|
attr_accessor :who_can_leave_group
|
||||||
|
@ -168,13 +174,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :who_can_post_message
|
attr_accessor :who_can_post_message
|
||||||
|
|
||||||
# Permissions to view group. Possbile values are: ANYONE_CAN_VIEW
|
# Permissions to view group. Possible values are: ANYONE_CAN_VIEW
|
||||||
# ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
|
# ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
|
||||||
# Corresponds to the JSON property `whoCanViewGroup`
|
# Corresponds to the JSON property `whoCanViewGroup`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :who_can_view_group
|
attr_accessor :who_can_view_group
|
||||||
|
|
||||||
# Permissions to view membership. Possbile values are: ALL_IN_DOMAIN_CAN_VIEW
|
# Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW
|
||||||
# ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
|
# ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
|
||||||
# Corresponds to the JSON property `whoCanViewMembership`
|
# Corresponds to the JSON property `whoCanViewMembership`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -207,6 +213,7 @@ module Google
|
||||||
@send_message_deny_notification = args[:send_message_deny_notification] if args.key?(:send_message_deny_notification)
|
@send_message_deny_notification = args[:send_message_deny_notification] if args.key?(:send_message_deny_notification)
|
||||||
@show_in_group_directory = args[:show_in_group_directory] if args.key?(:show_in_group_directory)
|
@show_in_group_directory = args[:show_in_group_directory] if args.key?(:show_in_group_directory)
|
||||||
@spam_moderation_level = args[:spam_moderation_level] if args.key?(:spam_moderation_level)
|
@spam_moderation_level = args[:spam_moderation_level] if args.key?(:spam_moderation_level)
|
||||||
|
@who_can_add = args[:who_can_add] if args.key?(:who_can_add)
|
||||||
@who_can_contact_owner = args[:who_can_contact_owner] if args.key?(:who_can_contact_owner)
|
@who_can_contact_owner = args[:who_can_contact_owner] if args.key?(:who_can_contact_owner)
|
||||||
@who_can_invite = args[:who_can_invite] if args.key?(:who_can_invite)
|
@who_can_invite = args[:who_can_invite] if args.key?(:who_can_invite)
|
||||||
@who_can_join = args[:who_can_join] if args.key?(:who_can_join)
|
@who_can_join = args[:who_can_join] if args.key?(:who_can_join)
|
||||||
|
|
|
@ -52,6 +52,7 @@ module Google
|
||||||
property :send_message_deny_notification, as: 'sendMessageDenyNotification'
|
property :send_message_deny_notification, as: 'sendMessageDenyNotification'
|
||||||
property :show_in_group_directory, as: 'showInGroupDirectory'
|
property :show_in_group_directory, as: 'showInGroupDirectory'
|
||||||
property :spam_moderation_level, as: 'spamModerationLevel'
|
property :spam_moderation_level, as: 'spamModerationLevel'
|
||||||
|
property :who_can_add, as: 'whoCanAdd'
|
||||||
property :who_can_contact_owner, as: 'whoCanContactOwner'
|
property :who_can_contact_owner, as: 'whoCanContactOwner'
|
||||||
property :who_can_invite, as: 'whoCanInvite'
|
property :who_can_invite, as: 'whoCanInvite'
|
||||||
property :who_can_join, as: 'whoCanJoin'
|
property :who_can_join, as: 'whoCanJoin'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/identity-toolkit/v3/
|
# @see https://developers.google.com/identity-toolkit/v3/
|
||||||
module IdentitytoolkitV3
|
module IdentitytoolkitV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20160304'
|
REVISION = '20160407'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -479,11 +479,22 @@ module Google
|
||||||
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
||||||
attr_accessor :change_email_template
|
attr_accessor :change_email_template
|
||||||
|
|
||||||
|
# Whether anonymous user is enabled.
|
||||||
|
# Corresponds to the JSON property `enableAnonymousUser`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enable_anonymous_user
|
||||||
|
alias_method :enable_anonymous_user?, :enable_anonymous_user
|
||||||
|
|
||||||
# OAuth2 provider configuration.
|
# OAuth2 provider configuration.
|
||||||
# Corresponds to the JSON property `idpConfig`
|
# Corresponds to the JSON property `idpConfig`
|
||||||
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
||||||
attr_accessor :idp_config
|
attr_accessor :idp_config
|
||||||
|
|
||||||
|
# Template for an email template.
|
||||||
|
# Corresponds to the JSON property `legacyResetPasswordTemplate`
|
||||||
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
||||||
|
attr_accessor :legacy_reset_password_template
|
||||||
|
|
||||||
# Project ID of the relying party.
|
# Project ID of the relying party.
|
||||||
# Corresponds to the JSON property `projectId`
|
# Corresponds to the JSON property `projectId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -515,7 +526,9 @@ module Google
|
||||||
@api_key = args[:api_key] if args.key?(:api_key)
|
@api_key = args[:api_key] if args.key?(:api_key)
|
||||||
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
||||||
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
||||||
|
@enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
|
||||||
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
||||||
|
@legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template)
|
||||||
@project_id = args[:project_id] if args.key?(:project_id)
|
@project_id = args[:project_id] if args.key?(:project_id)
|
||||||
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
||||||
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
||||||
|
@ -707,6 +720,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :api_key
|
attr_accessor :api_key
|
||||||
|
|
||||||
|
# Authorized domains for widget redirect.
|
||||||
|
# Corresponds to the JSON property `authorizedDomains`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :authorized_domains
|
||||||
|
|
||||||
# Template for an email template.
|
# Template for an email template.
|
||||||
# Corresponds to the JSON property `changeEmailTemplate`
|
# Corresponds to the JSON property `changeEmailTemplate`
|
||||||
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
||||||
|
@ -718,11 +736,22 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :delegated_project_number
|
attr_accessor :delegated_project_number
|
||||||
|
|
||||||
|
# Whether to enable anonymous user.
|
||||||
|
# Corresponds to the JSON property `enableAnonymousUser`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enable_anonymous_user
|
||||||
|
alias_method :enable_anonymous_user?, :enable_anonymous_user
|
||||||
|
|
||||||
# Oauth2 provider configuration.
|
# Oauth2 provider configuration.
|
||||||
# Corresponds to the JSON property `idpConfig`
|
# Corresponds to the JSON property `idpConfig`
|
||||||
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
||||||
attr_accessor :idp_config
|
attr_accessor :idp_config
|
||||||
|
|
||||||
|
# Template for an email template.
|
||||||
|
# Corresponds to the JSON property `legacyResetPasswordTemplate`
|
||||||
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
||||||
|
attr_accessor :legacy_reset_password_template
|
||||||
|
|
||||||
# Template for an email template.
|
# Template for an email template.
|
||||||
# Corresponds to the JSON property `resetPasswordTemplate`
|
# Corresponds to the JSON property `resetPasswordTemplate`
|
||||||
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
||||||
|
@ -747,9 +776,12 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
|
@allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
|
||||||
@api_key = args[:api_key] if args.key?(:api_key)
|
@api_key = args[:api_key] if args.key?(:api_key)
|
||||||
|
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
||||||
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
||||||
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
||||||
|
@enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
|
||||||
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
||||||
|
@legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template)
|
||||||
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
||||||
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
||||||
@verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
|
@verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
|
||||||
|
@ -1134,6 +1166,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :provider
|
attr_accessor :provider
|
||||||
|
|
||||||
|
# OAuth2 client secret.
|
||||||
|
# Corresponds to the JSON property `secret`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :secret
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -1144,6 +1181,7 @@ module Google
|
||||||
@enabled = args[:enabled] if args.key?(:enabled)
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
@experiment_percent = args[:experiment_percent] if args.key?(:experiment_percent)
|
@experiment_percent = args[:experiment_percent] if args.key?(:experiment_percent)
|
||||||
@provider = args[:provider] if args.key?(:provider)
|
@provider = args[:provider] if args.key?(:provider)
|
||||||
|
@secret = args[:secret] if args.key?(:secret)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1269,6 +1307,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :new_email
|
attr_accessor :new_email
|
||||||
|
|
||||||
|
# The user's hashed password.
|
||||||
|
# Corresponds to the JSON property `passwordHash`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :password_hash
|
||||||
|
|
||||||
# The photo url of the user.
|
# The photo url of the user.
|
||||||
# Corresponds to the JSON property `photoUrl`
|
# Corresponds to the JSON property `photoUrl`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1296,6 +1339,7 @@ module Google
|
||||||
@id_token = args[:id_token] if args.key?(:id_token)
|
@id_token = args[:id_token] if args.key?(:id_token)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@new_email = args[:new_email] if args.key?(:new_email)
|
@new_email = args[:new_email] if args.key?(:new_email)
|
||||||
|
@password_hash = args[:password_hash] if args.key?(:password_hash)
|
||||||
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
||||||
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
|
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
|
||||||
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
||||||
|
@ -1719,6 +1763,11 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :oauth_expire_in
|
attr_accessor :oauth_expire_in
|
||||||
|
|
||||||
|
# The OIDC id token.
|
||||||
|
# Corresponds to the JSON property `oauthIdToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :oauth_id_token
|
||||||
|
|
||||||
# The user approved request token for the OpenID OAuth extension.
|
# The user approved request token for the OpenID OAuth extension.
|
||||||
# Corresponds to the JSON property `oauthRequestToken`
|
# Corresponds to the JSON property `oauthRequestToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1800,6 +1849,7 @@ module Google
|
||||||
@oauth_access_token = args[:oauth_access_token] if args.key?(:oauth_access_token)
|
@oauth_access_token = args[:oauth_access_token] if args.key?(:oauth_access_token)
|
||||||
@oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code)
|
@oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code)
|
||||||
@oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in)
|
@oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in)
|
||||||
|
@oauth_id_token = args[:oauth_id_token] if args.key?(:oauth_id_token)
|
||||||
@oauth_request_token = args[:oauth_request_token] if args.key?(:oauth_request_token)
|
@oauth_request_token = args[:oauth_request_token] if args.key?(:oauth_request_token)
|
||||||
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
|
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
|
||||||
@oauth_token_secret = args[:oauth_token_secret] if args.key?(:oauth_token_secret)
|
@oauth_token_secret = args[:oauth_token_secret] if args.key?(:oauth_token_secret)
|
||||||
|
|
|
@ -360,8 +360,11 @@ module Google
|
||||||
collection :authorized_domains, as: 'authorizedDomains'
|
collection :authorized_domains, as: 'authorizedDomains'
|
||||||
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
||||||
|
|
||||||
|
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
||||||
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
||||||
|
|
||||||
|
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
||||||
|
|
||||||
property :project_id, as: 'projectId'
|
property :project_id, as: 'projectId'
|
||||||
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
||||||
|
|
||||||
|
@ -411,11 +414,15 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :allow_password_user, as: 'allowPasswordUser'
|
property :allow_password_user, as: 'allowPasswordUser'
|
||||||
property :api_key, as: 'apiKey'
|
property :api_key, as: 'apiKey'
|
||||||
|
collection :authorized_domains, as: 'authorizedDomains'
|
||||||
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
||||||
|
|
||||||
property :delegated_project_number, as: 'delegatedProjectNumber'
|
property :delegated_project_number, as: 'delegatedProjectNumber'
|
||||||
|
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
||||||
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
||||||
|
|
||||||
|
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
||||||
|
|
||||||
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
||||||
|
|
||||||
property :use_email_sending, as: 'useEmailSending'
|
property :use_email_sending, as: 'useEmailSending'
|
||||||
|
@ -520,6 +527,7 @@ module Google
|
||||||
property :enabled, as: 'enabled'
|
property :enabled, as: 'enabled'
|
||||||
property :experiment_percent, as: 'experimentPercent'
|
property :experiment_percent, as: 'experimentPercent'
|
||||||
property :provider, as: 'provider'
|
property :provider, as: 'provider'
|
||||||
|
property :secret, as: 'secret'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -554,6 +562,7 @@ module Google
|
||||||
property :id_token, as: 'idToken'
|
property :id_token, as: 'idToken'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :new_email, as: 'newEmail'
|
property :new_email, as: 'newEmail'
|
||||||
|
property :password_hash, :base64 => true, as: 'passwordHash'
|
||||||
property :photo_url, as: 'photoUrl'
|
property :photo_url, as: 'photoUrl'
|
||||||
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation
|
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation
|
||||||
|
|
||||||
|
@ -659,6 +668,7 @@ module Google
|
||||||
property :oauth_access_token, as: 'oauthAccessToken'
|
property :oauth_access_token, as: 'oauthAccessToken'
|
||||||
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
|
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
|
||||||
property :oauth_expire_in, as: 'oauthExpireIn'
|
property :oauth_expire_in, as: 'oauthExpireIn'
|
||||||
|
property :oauth_id_token, as: 'oauthIdToken'
|
||||||
property :oauth_request_token, as: 'oauthRequestToken'
|
property :oauth_request_token, as: 'oauthRequestToken'
|
||||||
property :oauth_scope, as: 'oauthScope'
|
property :oauth_scope, as: 'oauthScope'
|
||||||
property :oauth_token_secret, as: 'oauthTokenSecret'
|
property :oauth_token_secret, as: 'oauthTokenSecret'
|
||||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google Cloud Logging API
|
# Google Cloud Logging API
|
||||||
#
|
#
|
||||||
# The Google Cloud Logging API lets you write log entries and manage your logs,
|
# Writes log entries and manages your logs, log sinks, and logs-based metrics.
|
||||||
# log sinks and logs-based metrics.
|
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/logging/docs/
|
# @see https://cloud.google.com/logging/docs/
|
||||||
module LoggingV2beta1
|
module LoggingV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20160104'
|
REVISION = '20160322'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -50,7 +50,16 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :log_name
|
attr_accessor :log_name
|
||||||
|
|
||||||
# A specific monitored resource or a group of monitored resources.
|
# An object representing a resource that can be used for monitoring, logging,
|
||||||
|
# billing, or other purposes. Examples include virtual machine instances,
|
||||||
|
# databases, and storage devices such as disks. The `type` field identifies a
|
||||||
|
# MonitoredResourceDescriptor object that describes the resource's schema.
|
||||||
|
# Information in the `labels` field identifies the actual resource and its
|
||||||
|
# attributes according to the schema. For example, a particular Compute Engine
|
||||||
|
# VM instance could be represented by the following object, because the
|
||||||
|
# MonitoredResourceDescriptor for `"gce_instance"` has labels `"instance_id"`
|
||||||
|
# and `"zone"`: ` "type": "gce_instance", "labels": ` "instance_id": "my-
|
||||||
|
# instance", "zone": "us-central1-a" ``
|
||||||
# Corresponds to the JSON property `resource`
|
# Corresponds to the JSON property `resource`
|
||||||
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
||||||
attr_accessor :resource
|
attr_accessor :resource
|
||||||
|
@ -68,6 +77,16 @@ module Google
|
||||||
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
||||||
attr_accessor :entries
|
attr_accessor :entries
|
||||||
|
|
||||||
|
# Optional. Whether valid entries should be written even if some other entries
|
||||||
|
# fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not
|
||||||
|
# written, the response status will be the error associated with one of the
|
||||||
|
# failed entries and include error details in the form of
|
||||||
|
# WriteLogEntriesPartialErrors.
|
||||||
|
# Corresponds to the JSON property `partialSuccess`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :partial_success
|
||||||
|
alias_method :partial_success?, :partial_success
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -78,25 +97,33 @@ module Google
|
||||||
@resource = args[:resource] if args.key?(:resource)
|
@resource = args[:resource] if args.key?(:resource)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
@entries = args[:entries] if args.key?(:entries)
|
@entries = args[:entries] if args.key?(:entries)
|
||||||
|
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A specific monitored resource or a group of monitored resources.
|
# An object representing a resource that can be used for monitoring, logging,
|
||||||
|
# billing, or other purposes. Examples include virtual machine instances,
|
||||||
|
# databases, and storage devices such as disks. The `type` field identifies a
|
||||||
|
# MonitoredResourceDescriptor object that describes the resource's schema.
|
||||||
|
# Information in the `labels` field identifies the actual resource and its
|
||||||
|
# attributes according to the schema. For example, a particular Compute Engine
|
||||||
|
# VM instance could be represented by the following object, because the
|
||||||
|
# MonitoredResourceDescriptor for `"gce_instance"` has labels `"instance_id"`
|
||||||
|
# and `"zone"`: ` "type": "gce_instance", "labels": ` "instance_id": "my-
|
||||||
|
# instance", "zone": "us-central1-a" ``
|
||||||
class MonitoredResource
|
class MonitoredResource
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The type of monitored resource. This field must match the value of the `type`
|
# Required. The monitored resource type. This field must match the `type` field
|
||||||
# field in a MonitoredResourceDescriptor object. For example, `"
|
# of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL
|
||||||
# cloudsql_database"` represents Cloud SQL databases.
|
# database is `"cloudsql_database"`.
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :type
|
attr_accessor :type
|
||||||
|
|
||||||
# Values for some or all of the labels listed in the associated monitored
|
# Required. Values for all of the labels listed in the associated monitored
|
||||||
# resource descriptor. For example, specify a specific Cloud SQL database by
|
# resource descriptor. For example, Cloud SQL databases use the labels `"
|
||||||
# supplying values for both the `"database_id"` and `"zone"` labels. Specify the
|
# database_id"` and `"zone"`.
|
||||||
# set of all Cloud SQL databases in a particular location by supplying a value
|
|
||||||
# for only the `"zone"` label.
|
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -117,18 +144,27 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The resource name of the log to which this log entry belongs. The
|
# Required. The resource name of the log to which this log entry belongs. The
|
||||||
# format of the name is `projects/<project-id>/logs/<log-id%gt;`. Examples: `"
|
# format of the name is `"projects/
|
||||||
# projects/my-projectid/logs/syslog"`, `"projects/1234567890/logs/library.
|
# /logs/"`. Examples: `"projects/my-projectid/logs/syslog"`, `"projects/
|
||||||
# googleapis.com%2Fbook_log"`. The log ID part of resource name must be less
|
# 1234567890/logs/library.googleapis.com%2Fbook_log"`. The log ID part of
|
||||||
# than 512 characters long and can only include the following characters: upper
|
# resource name must be less than 512 characters long and can only include the
|
||||||
# and lower case alphanumeric characters: [A-Za-z0-9]; and punctuation
|
# following characters: upper and lower case alphanumeric characters: [A-Za-z0-9]
|
||||||
# characters: forward-slash, underscore, hyphen, and period. Forward-slash (`/`)
|
# ; and punctuation characters: forward-slash, underscore, hyphen, and period.
|
||||||
# characters in the log ID must be URL-encoded.
|
# Forward-slash (`/`) characters in the log ID must be URL-encoded.
|
||||||
# Corresponds to the JSON property `logName`
|
# Corresponds to the JSON property `logName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :log_name
|
attr_accessor :log_name
|
||||||
|
|
||||||
# A specific monitored resource or a group of monitored resources.
|
# An object representing a resource that can be used for monitoring, logging,
|
||||||
|
# billing, or other purposes. Examples include virtual machine instances,
|
||||||
|
# databases, and storage devices such as disks. The `type` field identifies a
|
||||||
|
# MonitoredResourceDescriptor object that describes the resource's schema.
|
||||||
|
# Information in the `labels` field identifies the actual resource and its
|
||||||
|
# attributes according to the schema. For example, a particular Compute Engine
|
||||||
|
# VM instance could be represented by the following object, because the
|
||||||
|
# MonitoredResourceDescriptor for `"gce_instance"` has labels `"instance_id"`
|
||||||
|
# and `"zone"`: ` "type": "gce_instance", "labels": ` "instance_id": "my-
|
||||||
|
# instance", "zone": "us-central1-a" ``
|
||||||
# Corresponds to the JSON property `resource`
|
# Corresponds to the JSON property `resource`
|
||||||
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
||||||
attr_accessor :resource
|
attr_accessor :resource
|
||||||
|
@ -257,6 +293,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :referer
|
attr_accessor :referer
|
||||||
|
|
||||||
|
# Whether or not a cache lookup was attempted.
|
||||||
|
# Corresponds to the JSON property `cacheLookup`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :cache_lookup
|
||||||
|
alias_method :cache_lookup?, :cache_lookup
|
||||||
|
|
||||||
# Whether or not an entity was served from cache (with or without validation).
|
# Whether or not an entity was served from cache (with or without validation).
|
||||||
# Corresponds to the JSON property `cacheHit`
|
# Corresponds to the JSON property `cacheHit`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -265,10 +307,16 @@ module Google
|
||||||
|
|
||||||
# Whether or not the response was validated with the origin server before being
|
# Whether or not the response was validated with the origin server before being
|
||||||
# served from cache. This field is only meaningful if `cache_hit` is True.
|
# served from cache. This field is only meaningful if `cache_hit` is True.
|
||||||
# Corresponds to the JSON property `validatedWithOriginServer`
|
# Corresponds to the JSON property `cacheValidatedWithOriginServer`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :validated_with_origin_server
|
attr_accessor :cache_validated_with_origin_server
|
||||||
alias_method :validated_with_origin_server?, :validated_with_origin_server
|
alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
|
||||||
|
|
||||||
|
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
||||||
|
# fill was attempted.
|
||||||
|
# Corresponds to the JSON property `cacheFillBytes`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :cache_fill_bytes
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
|
@ -284,8 +332,10 @@ module Google
|
||||||
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
||||||
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
||||||
@referer = args[:referer] if args.key?(:referer)
|
@referer = args[:referer] if args.key?(:referer)
|
||||||
|
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
||||||
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
||||||
@validated_with_origin_server = args[:validated_with_origin_server] if args.key?(:validated_with_origin_server)
|
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
||||||
|
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -364,33 +414,39 @@ module Google
|
||||||
attr_accessor :filter
|
attr_accessor :filter
|
||||||
|
|
||||||
# Optional. How the results should be sorted. Presently, the only permitted
|
# Optional. How the results should be sorted. Presently, the only permitted
|
||||||
# values are `"timestamp"` (default) and `"timestamp desc"`. The first option
|
# values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
|
||||||
# returns entries in order of increasing values of `LogEntry.timestamp` (oldest
|
# option returns entries in order of increasing values of `LogEntry.timestamp` (
|
||||||
# first), and the second option returns entries in order of decreasing
|
# oldest first), and the second option returns entries in order of decreasing
|
||||||
# timestamps (newest first). Entries with equal timestamps are returned in order
|
# timestamps (newest first). Entries with equal timestamps are returned in order
|
||||||
# of `LogEntry.insertId`.
|
# of `LogEntry.insertId`.
|
||||||
# Corresponds to the JSON property `orderBy`
|
# Corresponds to the JSON property `orderBy`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :order_by
|
attr_accessor :order_by
|
||||||
|
|
||||||
# Optional. The maximum number of results to return from this request. Fewer
|
# Optional. The maximum number of results to return from this request. You must
|
||||||
# results might be returned. You must check for the `nextPageToken` result to
|
# check for presence of `nextPageToken` to determine if additional results are
|
||||||
# determine if additional results are available, which you can retrieve by
|
# available, which you can retrieve by passing the `nextPageToken` value as the `
|
||||||
# passing the `nextPageToken` value in the `pageToken` parameter to the next
|
# pageToken` parameter in the next request.
|
||||||
# request.
|
|
||||||
# Corresponds to the JSON property `pageSize`
|
# Corresponds to the JSON property `pageSize`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :page_size
|
attr_accessor :page_size
|
||||||
|
|
||||||
# Optional. If the `pageToken` request parameter is supplied, then the next page
|
# Optional. If the `pageToken` parameter is supplied, then the next page of
|
||||||
# of results in the set are retrieved. The `pageToken` parameter must be set
|
# results is retrieved. The `pageToken` parameter must be set to the value of
|
||||||
# with the value of the `nextPageToken` result parameter from the previous
|
# the `nextPageToken` from the previous response. The values of `projectIds`, `
|
||||||
# request. The values of `projectIds`, `filter`, and `orderBy` must be the same
|
# filter`, and `orderBy` must be the same as in the previous request.
|
||||||
# as in the previous request.
|
|
||||||
# Corresponds to the JSON property `pageToken`
|
# Corresponds to the JSON property `pageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :page_token
|
attr_accessor :page_token
|
||||||
|
|
||||||
|
# Optional. If true, read access to all projects is not required and results
|
||||||
|
# will be returned for the subset of projects for which read access is permitted
|
||||||
|
# (empty subset is permitted).
|
||||||
|
# Corresponds to the JSON property `partialSuccess`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :partial_success
|
||||||
|
alias_method :partial_success?, :partial_success
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -402,6 +458,7 @@ module Google
|
||||||
@order_by = args[:order_by] if args.key?(:order_by)
|
@order_by = args[:order_by] if args.key?(:order_by)
|
||||||
@page_size = args[:page_size] if args.key?(:page_size)
|
@page_size = args[:page_size] if args.key?(:page_size)
|
||||||
@page_token = args[:page_token] if args.key?(:page_token)
|
@page_token = args[:page_token] if args.key?(:page_token)
|
||||||
|
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -414,13 +471,19 @@ module Google
|
||||||
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
||||||
attr_accessor :entries
|
attr_accessor :entries
|
||||||
|
|
||||||
# If there are more results than were returned, then `nextPageToken` is given a
|
# If there are more results than were returned, then `nextPageToken` is included
|
||||||
# value in the response. To get the next batch of results, call this method
|
# in the response. To get the next set of results, call this method again using
|
||||||
# again using the value of `nextPageToken` as `pageToken`.
|
# the value of `nextPageToken` as `pageToken`.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
# If partial_success is true, contains the project ids that had errors and the
|
||||||
|
# associated errors.
|
||||||
|
# Corresponds to the JSON property `projectIdErrors`
|
||||||
|
# @return [Hash<String,Google::Apis::LoggingV2beta1::Status>]
|
||||||
|
attr_accessor :project_id_errors
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -429,6 +492,72 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@entries = args[:entries] if args.key?(:entries)
|
@entries = args[:entries] if args.key?(:entries)
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
@project_id_errors = args[:project_id_errors] if args.key?(:project_id_errors)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
|
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
||||||
|
# use and understand for most users - Flexible enough to meet unexpected needs #
|
||||||
|
# Overview The `Status` message contains three pieces of data: error code, error
|
||||||
|
# message, and error details. The error code should be an enum value of google.
|
||||||
|
# rpc.Code, but it may accept additional error codes if needed. The error
|
||||||
|
# message should be a developer-facing English message that helps developers *
|
||||||
|
# understand* and *resolve* the error. If a localized user-facing error message
|
||||||
|
# is needed, put the localized message in the error details or localize it in
|
||||||
|
# the client. The optional error details may contain arbitrary information about
|
||||||
|
# the error. There is a predefined set of error detail types in the package `
|
||||||
|
# google.rpc` which can be used for common error conditions. # Language mapping
|
||||||
|
# The `Status` message is the logical representation of the error model, but it
|
||||||
|
# is not necessarily the actual wire format. When the `Status` message is
|
||||||
|
# exposed in different client libraries and different wire protocols, it can be
|
||||||
|
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||||
|
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
||||||
|
# error model and the `Status` message can be used in a variety of environments,
|
||||||
|
# either with or without APIs, to provide a consistent developer experience
|
||||||
|
# across different environments. Example uses of this error model include: -
|
||||||
|
# Partial errors. If a service needs to return partial errors to the client, it
|
||||||
|
# may embed the `Status` in the normal response to indicate the partial errors. -
|
||||||
|
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
||||||
|
# Status` message for error reporting purpose. - Batch operations. If a client
|
||||||
|
# uses batch request and batch response, the `Status` message should be used
|
||||||
|
# directly inside batch response, one for each error sub-response. -
|
||||||
|
# Asynchronous operations. If an API call embeds asynchronous operation results
|
||||||
|
# in its response, the status of those operations should be represented directly
|
||||||
|
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
||||||
|
# the message `Status` could be used directly after any stripping needed for
|
||||||
|
# security/privacy reasons.
|
||||||
|
class Status
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The status code, which should be an enum value of google.rpc.Code.
|
||||||
|
# Corresponds to the JSON property `code`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :code
|
||||||
|
|
||||||
|
# A developer-facing error message, which should be in English. Any user-facing
|
||||||
|
# error message should be localized and sent in the google.rpc.Status.details
|
||||||
|
# field, or localized by the client.
|
||||||
|
# Corresponds to the JSON property `message`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :message
|
||||||
|
|
||||||
|
# A list of messages that carry the error details. There will be a common set of
|
||||||
|
# message types for APIs to use.
|
||||||
|
# Corresponds to the JSON property `details`
|
||||||
|
# @return [Array<Hash<String,Object>>]
|
||||||
|
attr_accessor :details
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@code = args[:code] if args.key?(:code)
|
||||||
|
@message = args[:message] if args.key?(:message)
|
||||||
|
@details = args[:details] if args.key?(:details)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -441,9 +570,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
|
# @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
|
||||||
attr_accessor :resource_descriptors
|
attr_accessor :resource_descriptors
|
||||||
|
|
||||||
# If there are more results than were returned, then `nextPageToken` is returned
|
# If there are more results than were returned, then `nextPageToken` is included
|
||||||
# in the response. To get the next batch of results, call this method again
|
# in the response. To get the next set of results, call this method again using
|
||||||
# using the value of `nextPageToken` as `pageToken`.
|
# the value of `nextPageToken` as `pageToken`.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -459,31 +588,47 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A description of a type of monitored resource.
|
# An object that describes the schema of a MonitoredResource object using a type
|
||||||
|
# name and a set of labels. For example, the monitored resource descriptor for
|
||||||
|
# Google Compute Engine VM instances has a type of `"gce_instance"` and
|
||||||
|
# specifies the use of the labels `"instance_id"` and `"zone"` to identify
|
||||||
|
# particular VM instances. Different APIs can support different monitored
|
||||||
|
# resource types. APIs generally provide a `list` method that returns the
|
||||||
|
# monitored resource descriptors used by the API.
|
||||||
class MonitoredResourceDescriptor
|
class MonitoredResourceDescriptor
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The monitored resource type. For example, the type `"cloudsql_database"`
|
# Optional. The resource name of the monitored resource descriptor: `"projects/`
|
||||||
# represents databases in Google Cloud SQL.
|
# project_id`/monitoredResourceDescriptors/`type`"` where `type` is the value of
|
||||||
|
# the `type` field in this object and `project_id` is a project ID that provides
|
||||||
|
# API-specific context for accessing the type. APIs that do not use project
|
||||||
|
# information can use the resource name format `"monitoredResourceDescriptors/`
|
||||||
|
# type`"`.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# Required. The monitored resource type. For example, the type `"
|
||||||
|
# cloudsql_database"` represents databases in Google Cloud SQL.
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :type
|
attr_accessor :type
|
||||||
|
|
||||||
# A concise name for the monitored resource type, which is displayed in user
|
# Optional. A concise name for the monitored resource type that might be
|
||||||
# interfaces. For example, `"Cloud SQL Database"`.
|
# displayed in user interfaces. For example, `"Google Cloud SQL Database"`.
|
||||||
# Corresponds to the JSON property `displayName`
|
# Corresponds to the JSON property `displayName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :display_name
|
attr_accessor :display_name
|
||||||
|
|
||||||
# A detailed description of the monitored resource type, which is used in
|
# Optional. A detailed description of the monitored resource type that might be
|
||||||
# documentation.
|
# used in documentation.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# A set of labels that can be used to describe instances of this monitored
|
# Required. A set of labels used to describe instances of this monitored
|
||||||
# resource type. For example, Cloud SQL databases can be labeled with their `"
|
# resource type. For example, an individual Google Cloud SQL database is
|
||||||
# database_id"` and their `"zone"`.
|
# identified by values for the labels `"database_id"` and `"zone"`.
|
||||||
# Corresponds to the JSON property `labels`
|
# Corresponds to the JSON property `labels`
|
||||||
# @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
|
# @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
|
||||||
attr_accessor :labels
|
attr_accessor :labels
|
||||||
|
@ -494,6 +639,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
@type = args[:type] if args.key?(:type)
|
@type = args[:type] if args.key?(:type)
|
||||||
@display_name = args[:display_name] if args.key?(:display_name)
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@ -541,9 +687,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
|
# @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
|
||||||
attr_accessor :sinks
|
attr_accessor :sinks
|
||||||
|
|
||||||
# If there are more results than were returned, then `nextPageToken` is given a
|
# If there are more results than were returned, then `nextPageToken` is included
|
||||||
# value in the response. To get the next batch of results, call this method
|
# in the response. To get the next set of results, call this method again using
|
||||||
# again using the value of `nextPageToken` as `pageToken`.
|
# the value of `nextPageToken` as `pageToken`.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -578,16 +724,17 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destination
|
attr_accessor :destination
|
||||||
|
|
||||||
# An [advanced logs filter](/logging/docs/view/advanced_filters) that defines
|
# An [advanced logs filter](/logging/docs/view/advanced_filters). Only log
|
||||||
# the log entries to be exported. The filter must be consistent with the log
|
# entries matching that filter are exported. The filter must be consistent with
|
||||||
# entry format designed by the `outputVersionFormat` parameter, regardless of
|
# the log entry format specified by the `outputVersionFormat` parameter,
|
||||||
# the format of the log entry that was originally written to Cloud Logging.
|
# regardless of the format of the log entry that was originally written to Cloud
|
||||||
# Example: `"logName:syslog AND severity>=ERROR"`.
|
# Logging. Example (V2 format): `"logName=projects/my-projectid/logs/syslog AND
|
||||||
|
# severity>=ERROR"`.
|
||||||
# Corresponds to the JSON property `filter`
|
# Corresponds to the JSON property `filter`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :filter
|
attr_accessor :filter
|
||||||
|
|
||||||
# The log entry version used when exporting log entries from this sink. This
|
# The log entry version to use for this sink's exported log entries. This
|
||||||
# version does not have to correspond to the version of the log entry when it
|
# version does not have to correspond to the version of the log entry when it
|
||||||
# was written to Cloud Logging.
|
# was written to Cloud Logging.
|
||||||
# Corresponds to the JSON property `outputVersionFormat`
|
# Corresponds to the JSON property `outputVersionFormat`
|
||||||
|
@ -616,9 +763,9 @@ module Google
|
||||||
# @return [Array<Google::Apis::LoggingV2beta1::LogMetric>]
|
# @return [Array<Google::Apis::LoggingV2beta1::LogMetric>]
|
||||||
attr_accessor :metrics
|
attr_accessor :metrics
|
||||||
|
|
||||||
# If there are more results than were returned, then `nextPageToken` is given a
|
# If there are more results than were returned, then `nextPageToken` is included
|
||||||
# value in the response. To get the next batch of results, call this method
|
# in the response. To get the next set of results, call this method again using
|
||||||
# again using the value of `nextPageToken` as `pageToken`.
|
# the value of `nextPageToken` as `pageToken`.
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_page_token
|
attr_accessor :next_page_token
|
||||||
|
@ -818,6 +965,14 @@ module Google
|
||||||
attr_accessor :finished
|
attr_accessor :finished
|
||||||
alias_method :finished?, :finished
|
alias_method :finished?, :finished
|
||||||
|
|
||||||
|
# Whether this is the first RequestLog entry for this request. If an active
|
||||||
|
# request has several RequestLog entries written to Cloud Logging, this field
|
||||||
|
# will be set for one of them.
|
||||||
|
# Corresponds to the JSON property `first`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :first
|
||||||
|
alias_method :first?, :first
|
||||||
|
|
||||||
# An identifier for the instance that handled the request.
|
# An identifier for the instance that handled the request.
|
||||||
# Corresponds to the JSON property `instanceId`
|
# Corresponds to the JSON property `instanceId`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -877,6 +1032,7 @@ module Google
|
||||||
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
||||||
@instance_index = args[:instance_index] if args.key?(:instance_index)
|
@instance_index = args[:instance_index] if args.key?(:instance_index)
|
||||||
@finished = args[:finished] if args.key?(:finished)
|
@finished = args[:finished] if args.key?(:finished)
|
||||||
|
@first = args[:first] if args.key?(:first)
|
||||||
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
||||||
@line = args[:line] if args.key?(:line)
|
@line = args[:line] if args.key?(:line)
|
||||||
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|
||||||
|
|
|
@ -76,6 +76,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Status
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListMonitoredResourceDescriptorsResponse
|
class ListMonitoredResourceDescriptorsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -157,6 +163,7 @@ module Google
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
|
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
|
||||||
|
|
||||||
|
property :partial_success, as: 'partialSuccess'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -199,8 +206,10 @@ module Google
|
||||||
property :user_agent, as: 'userAgent'
|
property :user_agent, as: 'userAgent'
|
||||||
property :remote_ip, as: 'remoteIp'
|
property :remote_ip, as: 'remoteIp'
|
||||||
property :referer, as: 'referer'
|
property :referer, as: 'referer'
|
||||||
|
property :cache_lookup, as: 'cacheLookup'
|
||||||
property :cache_hit, as: 'cacheHit'
|
property :cache_hit, as: 'cacheHit'
|
||||||
property :validated_with_origin_server, as: 'validatedWithOriginServer'
|
property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer'
|
||||||
|
property :cache_fill_bytes, as: 'cacheFillBytes'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -228,6 +237,7 @@ module Google
|
||||||
property :order_by, as: 'orderBy'
|
property :order_by, as: 'orderBy'
|
||||||
property :page_size, as: 'pageSize'
|
property :page_size, as: 'pageSize'
|
||||||
property :page_token, as: 'pageToken'
|
property :page_token, as: 'pageToken'
|
||||||
|
property :partial_success, as: 'partialSuccess'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -237,6 +247,17 @@ module Google
|
||||||
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
|
collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation
|
||||||
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
hash :project_id_errors, as: 'projectIdErrors', class: Google::Apis::LoggingV2beta1::Status, decorator: Google::Apis::LoggingV2beta1::Status::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class Status
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
property :message, as: 'message'
|
||||||
|
collection :details, as: 'details'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -252,6 +273,7 @@ module Google
|
||||||
class MonitoredResourceDescriptor
|
class MonitoredResourceDescriptor
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :name, as: 'name'
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
property :display_name, as: 'displayName'
|
property :display_name, as: 'displayName'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
|
@ -335,6 +357,7 @@ module Google
|
||||||
property :pending_time, as: 'pendingTime'
|
property :pending_time, as: 'pendingTime'
|
||||||
property :instance_index, as: 'instanceIndex'
|
property :instance_index, as: 'instanceIndex'
|
||||||
property :finished, as: 'finished'
|
property :finished, as: 'finished'
|
||||||
|
property :first, as: 'first'
|
||||||
property :instance_id, as: 'instanceId'
|
property :instance_id, as: 'instanceId'
|
||||||
collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
|
collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
||||||
module LoggingV2beta1
|
module LoggingV2beta1
|
||||||
# Google Cloud Logging API
|
# Google Cloud Logging API
|
||||||
#
|
#
|
||||||
# The Google Cloud Logging API lets you write log entries and manage your logs,
|
# Writes log entries and manages your logs, log sinks, and logs-based metrics.
|
||||||
# log sinks and logs-based metrics.
|
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/logging_v2beta1'
|
# require 'google/apis/logging_v2beta1'
|
||||||
|
@ -82,19 +81,17 @@ module Google
|
||||||
# Lists sinks.
|
# Lists sinks.
|
||||||
# @param [String] project_name
|
# @param [String] project_name
|
||||||
# Required. The resource name of the project containing the sinks. Example: `"
|
# Required. The resource name of the project containing the sinks. Example: `"
|
||||||
# projects/my-logging-project"`, `"projects/01234567890"`.
|
# projects/my-logging-project"`.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Optional. If the `pageToken` request parameter is supplied, then the next page
|
# Optional. If the `pageToken` parameter is supplied, then the next page of
|
||||||
# of results in the set are retrieved. The `pageToken` parameter must be set
|
# results is retrieved. The `pageToken` parameter must be set to the value of
|
||||||
# with the value of the `nextPageToken` result parameter from the previous
|
# the `nextPageToken` from the previous response. The value of `projectName`
|
||||||
# request. The value of `projectName` must be the same as in the previous
|
# must be the same as in the previous request.
|
||||||
# request.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Optional. The maximum number of results to return from this request. Fewer
|
# Optional. The maximum number of results to return from this request. You must
|
||||||
# results might be returned. You must check for the `nextPageToken` result to
|
# check for presence of `nextPageToken` to determine if additional results are
|
||||||
# determine if additional results are available, which you can retrieve by
|
# available, which you can retrieve by passing the `nextPageToken` value as the `
|
||||||
# passing the `nextPageToken` value in the `pageToken` parameter to the next
|
# pageToken` parameter in the next request.
|
||||||
# request.
|
|
||||||
# @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
|
||||||
|
@ -261,17 +258,15 @@ module Google
|
||||||
# Required. The resource name of the project containing the metrics. Example: `"
|
# Required. The resource name of the project containing the metrics. Example: `"
|
||||||
# projects/my-project-id"`.
|
# projects/my-project-id"`.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Optional. If the `pageToken` request parameter is supplied, then the next page
|
# Optional. If the `pageToken` parameter is supplied, then the next page of
|
||||||
# of results in the set are retrieved. The `pageToken` parameter must be set
|
# results is retrieved. The `pageToken` parameter must be set to the value of
|
||||||
# with the value of the `nextPageToken` result parameter from the previous
|
# the `nextPageToken` from the previous response. The value of `projectName`
|
||||||
# request. The value of `projectName` must be the same as in the previous
|
# must be the same as in the previous request.
|
||||||
# request.
|
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Optional. The maximum number of results to return from this request. Fewer
|
# Optional. The maximum number of results to return from this request. You must
|
||||||
# results might be returned. You must check for the `nextPageToken` result to
|
# check for presence of `nextPageToken` to determine if additional results are
|
||||||
# determine if additional results are available, which you can retrieve by
|
# available, which you can retrieve by passing the `nextPageToken` value as the `
|
||||||
# passing the `nextPageToken` value in the `pageToken` parameter to the next
|
# pageToken` parameter in the next request.
|
||||||
# request.
|
|
||||||
# @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
|
||||||
|
@ -497,16 +492,14 @@ module Google
|
||||||
|
|
||||||
# Lists monitored resource descriptors that are used by Cloud Logging.
|
# Lists monitored resource descriptors that are used by Cloud Logging.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Optional. The maximum number of results to return from this request. Fewer
|
# Optional. The maximum number of results to return from this request. You must
|
||||||
# results might be returned. You must check for the `nextPageToken` result to
|
# check for presence of `nextPageToken` to determine if additional results are
|
||||||
# determine if additional results are available, which you can retrieve by
|
# available, which you can retrieve by passing the `nextPageToken` value as the `
|
||||||
# passing the `nextPageToken` value in the `pageToken` parameter to the next
|
# pageToken` parameter in the next request.
|
||||||
# request.
|
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Optional. If the `pageToken` request parameter is supplied, then the next page
|
# Optional. If the `pageToken` parameter is supplied, then the next page of
|
||||||
# of results in the set are retrieved. The `pageToken` parameter must be set
|
# results is retrieved. The `pageToken` parameter must be set to the value of
|
||||||
# with the value of the `nextPageToken` result parameter from the previous
|
# the `nextPageToken` from the previous response.
|
||||||
# request.
|
|
||||||
# @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
|
||||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Google OAuth2 API
|
# Google OAuth2 API
|
||||||
#
|
#
|
||||||
# Lets you access OAuth2 protocol related APIs.
|
# Obtains end-user authorization grants for use with other Google APIs.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/accounts/docs/OAuth2
|
# @see https://developers.google.com/accounts/docs/OAuth2
|
||||||
module Oauth2V2
|
module Oauth2V2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20160217'
|
REVISION = '20160330'
|
||||||
|
|
||||||
# Know the list of people in your circles, your age range, and language
|
# Know the list of people in your circles, your age range, and language
|
||||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
||||||
module Oauth2V2
|
module Oauth2V2
|
||||||
# Google OAuth2 API
|
# Google OAuth2 API
|
||||||
#
|
#
|
||||||
# Lets you access OAuth2 protocol related APIs.
|
# Obtains end-user authorization grants for use with other Google APIs.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/oauth2_v2'
|
# require 'google/apis/oauth2_v2'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/+/domains/
|
# @see https://developers.google.com/+/domains/
|
||||||
module PlusDomainsV1
|
module PlusDomainsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160309'
|
REVISION = '20160412'
|
||||||
|
|
||||||
# View your circles and the people and pages in them
|
# View your circles and the people and pages in them
|
||||||
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/+/api/
|
# @see https://developers.google.com/+/api/
|
||||||
module PlusV1
|
module PlusV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160309'
|
REVISION = '20160412'
|
||||||
|
|
||||||
# Know the list of people in your circles, your age range, and language
|
# Know the list of people in your circles, your age range, and language
|
||||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/pubsub/docs
|
# @see https://cloud.google.com/pubsub/docs
|
||||||
module PubsubV1
|
module PubsubV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151103'
|
REVISION = '20160317'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -33,7 +33,7 @@ module Google
|
||||||
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
|
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
|
||||||
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
|
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
|
||||||
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||||
# appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
|
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
|
||||||
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
|
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
|
||||||
# IAM developer's guide](https://cloud.google.com/iam).
|
# IAM developer's guide](https://cloud.google.com/iam).
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
|
@ -57,7 +57,7 @@ module Google
|
||||||
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
|
# accounts. A `role` is a named list of permissions defined by IAM. **Example** `
|
||||||
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
|
# "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", "
|
||||||
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||||
# appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user:
|
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
|
||||||
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
|
# sean@example.com"] ` ] ` For a description of IAM and its features, see the [
|
||||||
# IAM developer's guide](https://cloud.google.com/iam).
|
# IAM developer's guide](https://cloud.google.com/iam).
|
||||||
class Policy
|
class Policy
|
||||||
|
@ -75,7 +75,14 @@ module Google
|
||||||
# @return [Array<Google::Apis::PubsubV1::Binding>]
|
# @return [Array<Google::Apis::PubsubV1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
|
||||||
# Can be used to perform a read-modify-write.
|
# `etag` is used for optimistic concurrency control as a way to help prevent
|
||||||
|
# simultaneous updates of a policy from overwriting each other. It is strongly
|
||||||
|
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
||||||
|
# to perform policy updates in order to avoid race conditions: An `etag` is
|
||||||
|
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||||
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||||
|
# applied to the same version of the policy. If no `etag` is provided in the
|
||||||
|
# call to `setIamPolicy`, then the existing policy is overwritten blindly.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
@ -103,7 +110,7 @@ module Google
|
||||||
attr_accessor :role
|
attr_accessor :role
|
||||||
|
|
||||||
# Specifies the identities requesting access for a Cloud Platform resource. `
|
# Specifies the identities requesting access for a Cloud Platform resource. `
|
||||||
# members` can have the following formats: * `allUsers`: A special identifier
|
# members` can have the following values: * `allUsers`: A special identifier
|
||||||
# that represents anyone who is on the internet; with or without a Google
|
# that represents anyone who is on the internet; with or without a Google
|
||||||
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
||||||
# anyone who is authenticated with a Google account or a service account. * `
|
# anyone who is authenticated with a Google account or a service account. * `
|
||||||
|
@ -134,7 +141,8 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The set of permissions to check for the `resource`. Permissions with wildcards
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
||||||
# (such as '*' or 'storage.*') are not allowed.
|
# (such as '*' or 'storage.*') are not allowed. For more information see IAM
|
||||||
|
# Overview.
|
||||||
# Corresponds to the JSON property `permissions`
|
# Corresponds to the JSON property `permissions`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :permissions
|
attr_accessor :permissions
|
||||||
|
@ -373,13 +381,13 @@ module Google
|
||||||
# the subscriber should acknowledge the message. After message delivery but
|
# the subscriber should acknowledge the message. After message delivery but
|
||||||
# before the ack deadline expires and before the message is acknowledged, it is
|
# before the ack deadline expires and before the message is acknowledged, it is
|
||||||
# an outstanding message and will not be delivered again during that time (on a
|
# an outstanding message and will not be delivered again during that time (on a
|
||||||
# best-effort basis). For pull delivery this value is used as the initial value
|
# best-effort basis). For pull subscriptions, this value is used as the initial
|
||||||
# for the ack deadline. To override this value for a given message, call `
|
# value for the ack deadline. To override this value for a given message, call `
|
||||||
# ModifyAckDeadline` with the corresponding `ack_id`. For push delivery, this
|
# ModifyAckDeadline` with the corresponding `ack_id` if using pull. For push
|
||||||
# value is also used to set the request timeout for the call to the push
|
# delivery, this value is also used to set the request timeout for the call to
|
||||||
# endpoint. If the subscriber never acknowledges the message, the Pub/Sub system
|
# the push endpoint. If the subscriber never acknowledges the message, the Pub/
|
||||||
# will eventually redeliver the message. If this parameter is not set, the
|
# Sub system will eventually redeliver the message. If this parameter is not set,
|
||||||
# default value of 10 seconds is used.
|
# the default value of 10 seconds is used.
|
||||||
# Corresponds to the JSON property `ackDeadlineSeconds`
|
# Corresponds to the JSON property `ackDeadlineSeconds`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :ack_deadline_seconds
|
attr_accessor :ack_deadline_seconds
|
||||||
|
|
|
@ -49,10 +49,10 @@ module Google
|
||||||
# Sets the access control policy on the specified resource. Replaces any
|
# Sets the access control policy on the specified resource. Replaces any
|
||||||
# existing policy.
|
# existing policy.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which policy is being specified. `resource` is
|
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
||||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||||
# disk``. The format for the path specified in this value is resource specific
|
# disk*`. The format for the path specified in this value is resource specific
|
||||||
# and is specified in the documentation for the respective SetIamPolicy rpc.
|
# and is specified in the `setIamPolicy` documentation.
|
||||||
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_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.
|
||||||
|
@ -83,13 +83,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the access control policy for a `resource`. Is empty if the policy or the
|
# Gets the access control policy for a `resource`. Returns an empty policy if
|
||||||
# resource does not exist.
|
# the resource exists and does not have a policy set.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which policy is being requested. `resource` is
|
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
||||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||||
# disk``. The format for the path specified in this value is resource specific
|
# disk*`. The format for the path specified in this value is resource specific
|
||||||
# and is specified in the documentation for the respective GetIamPolicy rpc.
|
# and is specified in the `getIamPolicy` documentation.
|
||||||
# @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
|
||||||
|
@ -119,11 +119,10 @@ module Google
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified resource.
|
# Returns permissions that a caller has on the specified resource.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which policy detail is being requested. `resource`
|
# REQUIRED: The resource for which the policy detail is being requested. `
|
||||||
# is usually specified as a path, such as, `projects/`project`/zones/`zone`/
|
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
||||||
# disks/`disk``. The format for the path specified in this value is resource
|
# zone*/disks/*disk*`. The format for the path specified in this value is
|
||||||
# specific and is specified in the documentation for the respective
|
# resource specific and is specified in the `testIamPermissions` documentation.
|
||||||
# TestIamPermissions rpc.
|
|
||||||
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_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.
|
||||||
|
@ -369,10 +368,10 @@ module Google
|
||||||
# Sets the access control policy on the specified resource. Replaces any
|
# Sets the access control policy on the specified resource. Replaces any
|
||||||
# existing policy.
|
# existing policy.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which policy is being specified. `resource` is
|
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
||||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||||
# disk``. The format for the path specified in this value is resource specific
|
# disk*`. The format for the path specified in this value is resource specific
|
||||||
# and is specified in the documentation for the respective SetIamPolicy rpc.
|
# and is specified in the `setIamPolicy` documentation.
|
||||||
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_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.
|
||||||
|
@ -403,13 +402,13 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the access control policy for a `resource`. Is empty if the policy or the
|
# Gets the access control policy for a `resource`. Returns an empty policy if
|
||||||
# resource does not exist.
|
# the resource exists and does not have a policy set.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which policy is being requested. `resource` is
|
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
||||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||||
# disk``. The format for the path specified in this value is resource specific
|
# disk*`. The format for the path specified in this value is resource specific
|
||||||
# and is specified in the documentation for the respective GetIamPolicy rpc.
|
# and is specified in the `getIamPolicy` documentation.
|
||||||
# @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
|
||||||
|
@ -439,11 +438,10 @@ module Google
|
||||||
|
|
||||||
# Returns permissions that a caller has on the specified resource.
|
# Returns permissions that a caller has on the specified resource.
|
||||||
# @param [String] resource
|
# @param [String] resource
|
||||||
# REQUIRED: The resource for which policy detail is being requested. `resource`
|
# REQUIRED: The resource for which the policy detail is being requested. `
|
||||||
# is usually specified as a path, such as, `projects/`project`/zones/`zone`/
|
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
||||||
# disks/`disk``. The format for the path specified in this value is resource
|
# zone*/disks/*disk*`. The format for the path specified in this value is
|
||||||
# specific and is specified in the documentation for the respective
|
# resource specific and is specified in the `testIamPermissions` documentation.
|
||||||
# TestIamPermissions rpc.
|
|
||||||
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_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.
|
||||||
|
@ -474,11 +472,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a subscription to a given topic for a given subscriber. If the
|
# Creates a subscription to a given topic. If the subscription already exists,
|
||||||
# subscription already exists, returns `ALREADY_EXISTS`. If the corresponding
|
# returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `
|
||||||
# topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the
|
# NOT_FOUND`. If the name is not provided in the request, the server will assign
|
||||||
# request, the server will assign a random name for this subscription on the
|
# a random name for this subscription on the same project as the topic.
|
||||||
# same project as the topic.
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# The name of the subscription. It must have the format `"projects/`project`/
|
# The name of the subscription. It must have the format `"projects/`project`/
|
||||||
# subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
|
# subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/google-apps/reseller/
|
# @see https://developers.google.com/google-apps/reseller/
|
||||||
module ResellerV1
|
module ResellerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20160229'
|
REVISION = '20160329'
|
||||||
|
|
||||||
# Manage users on your domain
|
# Manage users on your domain
|
||||||
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
|
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
|
||||||
|
|
|
@ -102,6 +102,12 @@ module Google
|
||||||
class ChangePlanRequest
|
class ChangePlanRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# External name of the deal code applicable for the subscription. This field is
|
||||||
|
# optional. If missing, the deal price plan won't be used.
|
||||||
|
# Corresponds to the JSON property `dealCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :deal_code
|
||||||
|
|
||||||
# Identifies the resource as a subscription change plan request.
|
# Identifies the resource as a subscription change plan request.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -128,6 +134,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@deal_code = args[:deal_code] if args.key?(:deal_code)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@plan_name = args[:plan_name] if args.key?(:plan_name)
|
@plan_name = args[:plan_name] if args.key?(:plan_name)
|
||||||
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
|
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
|
||||||
|
@ -286,6 +293,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :customer_id
|
attr_accessor :customer_id
|
||||||
|
|
||||||
|
# External name of the deal, if this subscription was provisioned under one.
|
||||||
|
# Otherwise this field will be empty.
|
||||||
|
# Corresponds to the JSON property `dealCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :deal_code
|
||||||
|
|
||||||
# Identifies the resource as a Subscription.
|
# Identifies the resource as a Subscription.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -331,17 +344,17 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :subscription_id
|
attr_accessor :subscription_id
|
||||||
|
|
||||||
# field listing all current reasons the subscription is suspended. It is
|
# Read-only field containing an enumerable of all the current suspension reasons
|
||||||
# possible for a subscription to have multiple suspension reasons. A
|
# for a subscription. It is possible for a subscription to have many concurrent,
|
||||||
# subscription's status is SUSPENDED until all pending suspensions are removed.
|
# overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all
|
||||||
# Possible options include:
|
# pending suspensions are removed. Possible options include:
|
||||||
# - PENDING_TOS_ACCEPTANCE — The customer has not logged in and accepted the
|
# - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the
|
||||||
# Google Apps Resold Terms of Services.
|
# Google Apps Resold Terms of Services.
|
||||||
# - RENEWAL_WITH_TYPE_CANCEL — The customer's commitment ended and their service
|
# - RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service
|
||||||
# was cancelled at the end of their term.
|
# was cancelled at the end of their term.
|
||||||
# - RESELLER_INITIATED — A manual suspension invoked by a Reseller.
|
# - RESELLER_INITIATED - A manual suspension invoked by a Reseller.
|
||||||
# - TRIAL_ENDED — The customer's trial expired without a plan selected.
|
# - TRIAL_ENDED - The customer's trial expired without a plan selected.
|
||||||
# - OTHER — The customer is suspended for an internal Google reason (e.g. abuse
|
# - OTHER - The customer is suspended for an internal Google reason (e.g. abuse
|
||||||
# or otherwise).
|
# or otherwise).
|
||||||
# Corresponds to the JSON property `suspensionReasons`
|
# Corresponds to the JSON property `suspensionReasons`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -367,6 +380,7 @@ module Google
|
||||||
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
||||||
@customer_domain = args[:customer_domain] if args.key?(:customer_domain)
|
@customer_domain = args[:customer_domain] if args.key?(:customer_domain)
|
||||||
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
||||||
|
@deal_code = args[:deal_code] if args.key?(:deal_code)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@plan = args[:plan] if args.key?(:plan)
|
@plan = args[:plan] if args.key?(:plan)
|
||||||
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
|
@purchase_order_id = args[:purchase_order_id] if args.key?(:purchase_order_id)
|
||||||
|
|
|
@ -107,6 +107,7 @@ module Google
|
||||||
class ChangePlanRequest
|
class ChangePlanRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :deal_code, as: 'dealCode'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :plan_name, as: 'planName'
|
property :plan_name, as: 'planName'
|
||||||
property :purchase_order_id, as: 'purchaseOrderId'
|
property :purchase_order_id, as: 'purchaseOrderId'
|
||||||
|
@ -155,6 +156,7 @@ module Google
|
||||||
property :creation_time, as: 'creationTime'
|
property :creation_time, as: 'creationTime'
|
||||||
property :customer_domain, as: 'customerDomain'
|
property :customer_domain, as: 'customerDomain'
|
||||||
property :customer_id, as: 'customerId'
|
property :customer_id, as: 'customerId'
|
||||||
|
property :deal_code, as: 'dealCode'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :plan, as: 'plan', class: Google::Apis::ResellerV1::Subscription::Plan, decorator: Google::Apis::ResellerV1::Subscription::Plan::Representation
|
property :plan, as: 'plan', class: Google::Apis::ResellerV1::Subscription::Plan, decorator: Google::Apis::ResellerV1::Subscription::Plan::Representation
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'google/apis/sheets_v1/service.rb'
|
||||||
|
require 'google/apis/sheets_v1/classes.rb'
|
||||||
|
require 'google/apis/sheets_v1/representations.rb'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
# Google Sheets API
|
||||||
|
#
|
||||||
|
# An API for reading and modifying Google Sheets.
|
||||||
|
#
|
||||||
|
# @see
|
||||||
|
module SheetsV1
|
||||||
|
VERSION = 'V1'
|
||||||
|
REVISION = '20160328'
|
||||||
|
|
||||||
|
# View the files in your Google Drive
|
||||||
|
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
||||||
|
|
||||||
|
# View your Google Spreadsheets
|
||||||
|
AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly'
|
||||||
|
|
||||||
|
# View and manage your spreadsheets in Google Drive
|
||||||
|
AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
|
||||||
|
|
||||||
|
# View and manage the files in your Google Drive
|
||||||
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue