Add dfareporting_v2_6, regenerate APIs
This commit is contained in:
parent
ff11f30681
commit
ef50538458
172
api_names.yaml
172
api_names.yaml
|
@ -643,116 +643,61 @@
|
|||
"/deploymentmanager:v2beta2/OperationsListResponse": list_operations_response
|
||||
"/deploymentmanager:v2beta2/ResourcesListResponse": list_resources_response
|
||||
"/deploymentmanager:v2beta2/TypesListResponse": list_types_response
|
||||
"/dfareporting:v2.3/AccountPermissionGroupsListResponse": list_account_permission_groups_response
|
||||
"/dfareporting:v2.3/AccountPermissionsListResponse": list_account_permissions_response
|
||||
"/dfareporting:v2.3/AccountUserProfilesListResponse": list_account_user_profiles_response
|
||||
"/dfareporting:v2.3/AccountsListResponse": list_accounts_response
|
||||
"/dfareporting:v2.3/AdsListResponse": list_ads_response
|
||||
"/dfareporting:v2.3/AdvertiserGroupsListResponse": list_advertiser_groups_response
|
||||
"/dfareporting:v2.3/AdvertisersListResponse": list_advertisers_response
|
||||
"/dfareporting:v2.3/BrowsersListResponse": list_browsers_response
|
||||
"/dfareporting:v2.3/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response
|
||||
"/dfareporting:v2.3/CampaignsListResponse": list_campaigns_response
|
||||
"/dfareporting:v2.3/ChangeLog/objectId": obj_id
|
||||
"/dfareporting:v2.3/ChangeLogsListResponse": list_change_logs_response
|
||||
"/dfareporting:v2.3/CitiesListResponse": list_cities_response
|
||||
"/dfareporting:v2.3/ConnectionTypesListResponse": list_connection_types_response
|
||||
"/dfareporting:v2.3/ContentCategoriesListResponse": list_content_categories_response
|
||||
"/dfareporting:v2.3/CountriesListResponse": list_countries_response
|
||||
"/dfareporting:v2.3/CreativeFieldValuesListResponse": list_creative_field_values_response
|
||||
"/dfareporting:v2.3/CreativeFieldsListResponse": list_creative_fields_response
|
||||
"/dfareporting:v2.3/CreativeGroupsListResponse": list_creative_groups_response
|
||||
"/dfareporting:v2.3/CreativesListResponse": list_creatives_response
|
||||
"/dfareporting:v2.3/DimensionValueRequest": dimension_value_request
|
||||
"/dfareporting:v2.3/DirectorySiteContactsListResponse": list_directory_site_contacts_response
|
||||
"/dfareporting:v2.3/DirectorySitesListResponse": list_directory_sites_response
|
||||
"/dfareporting:v2.3/EventTagsListResponse": list_event_tags_response
|
||||
"/dfareporting:v2.3/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response
|
||||
"/dfareporting:v2.3/FloodlightActivitiesListResponse": list_floodlight_activities_response
|
||||
"/dfareporting:v2.3/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response
|
||||
"/dfareporting:v2.3/FloodlightConfigurationsListResponse": list_floodlight_configurations_response
|
||||
"/dfareporting:v2.3/InventoryItemsListResponse": list_inventory_items_response
|
||||
"/dfareporting:v2.3/LandingPagesListResponse": list_landing_pages_response
|
||||
"/dfareporting:v2.3/MetrosListResponse": list_metros_response
|
||||
"/dfareporting:v2.3/MobileCarriersListResponse": list_mobile_carriers_response
|
||||
"/dfareporting:v2.3/ObjectFilter/objectIds/object_id": obj_id
|
||||
"/dfareporting:v2.3/OperatingSystemVersionsListResponse": list_operating_system_versions_response
|
||||
"/dfareporting:v2.3/OperatingSystemsListResponse": list_operating_systems_response
|
||||
"/dfareporting:v2.3/OrderDocumentsListResponse": list_order_documents_response
|
||||
"/dfareporting:v2.3/OrdersListResponse": list_orders_response
|
||||
"/dfareporting:v2.3/PlacementGroupsListResponse": list_placement_groups_response
|
||||
"/dfareporting:v2.3/PlacementStrategiesListResponse": list_placement_strategies_response
|
||||
"/dfareporting:v2.3/PlacementsGenerateTagsResponse": generate_placements_tags_response
|
||||
"/dfareporting:v2.3/PlacementsListResponse": list_placements_response
|
||||
"/dfareporting:v2.3/PlatformTypesListResponse": list_platform_types_response
|
||||
"/dfareporting:v2.3/PostalCodesListResponse": list_postal_codes_response
|
||||
"/dfareporting:v2.3/ProjectsListResponse": list_projects_response
|
||||
"/dfareporting:v2.3/RegionsListResponse": list_regions_response
|
||||
"/dfareporting:v2.3/RemarketingListsListResponse": list_remarketing_lists_response
|
||||
"/dfareporting:v2.3/SitesListResponse": list_sites_response
|
||||
"/dfareporting:v2.3/SizesListResponse": list_sizes_response
|
||||
"/dfareporting:v2.3/SubaccountsListResponse": list_subaccounts_response
|
||||
"/dfareporting:v2.3/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response
|
||||
"/dfareporting:v2.3/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response
|
||||
"/dfareporting:v2.3/UserRolePermissionsListResponse": list_user_role_permissions_response
|
||||
"/dfareporting:v2.3/UserRolesListResponse": list_user_roles_response
|
||||
"/dfareporting:v2.3/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
|
||||
"/dfareporting:v2.3/dfareporting.placements.generatetags": generate_placement_tags
|
||||
"/dfareporting:v2.5/AccountPermissionGroupsListResponse": list_account_permission_groups_response
|
||||
"/dfareporting:v2.5/AccountPermissionsListResponse": list_account_permissions_response
|
||||
"/dfareporting:v2.5/AccountUserProfilesListResponse": list_account_user_profiles_response
|
||||
"/dfareporting:v2.5/AccountsListResponse": list_accounts_response
|
||||
"/dfareporting:v2.5/AdsListResponse": list_ads_response
|
||||
"/dfareporting:v2.5/AdvertiserGroupsListResponse": list_advertiser_groups_response
|
||||
"/dfareporting:v2.5/AdvertisersListResponse": list_advertisers_response
|
||||
"/dfareporting:v2.5/BrowsersListResponse": list_browsers_response
|
||||
"/dfareporting:v2.5/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response
|
||||
"/dfareporting:v2.5/CampaignsListResponse": list_campaigns_response
|
||||
"/dfareporting:v2.5/ChangeLog/objectId": obj_id
|
||||
"/dfareporting:v2.5/ChangeLogsListResponse": list_change_logs_response
|
||||
"/dfareporting:v2.5/CitiesListResponse": list_cities_response
|
||||
"/dfareporting:v2.5/ConnectionTypesListResponse": list_connection_types_response
|
||||
"/dfareporting:v2.5/ContentCategoriesListResponse": list_content_categories_response
|
||||
"/dfareporting:v2.5/CountriesListResponse": list_countries_response
|
||||
"/dfareporting:v2.5/CreativeFieldValuesListResponse": list_creative_field_values_response
|
||||
"/dfareporting:v2.5/CreativeFieldsListResponse": list_creative_fields_response
|
||||
"/dfareporting:v2.5/CreativeGroupsListResponse": list_creative_groups_response
|
||||
"/dfareporting:v2.5/CreativesListResponse": list_creatives_response
|
||||
"/dfareporting:v2.5/DimensionValueRequest": dimension_value_request
|
||||
"/dfareporting:v2.5/DirectorySiteContactsListResponse": list_directory_site_contacts_response
|
||||
"/dfareporting:v2.5/DirectorySitesListResponse": list_directory_sites_response
|
||||
"/dfareporting:v2.5/EventTagsListResponse": list_event_tags_response
|
||||
"/dfareporting:v2.5/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response
|
||||
"/dfareporting:v2.5/FloodlightActivitiesListResponse": list_floodlight_activities_response
|
||||
"/dfareporting:v2.5/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response
|
||||
"/dfareporting:v2.5/FloodlightConfigurationsListResponse": list_floodlight_configurations_response
|
||||
"/dfareporting:v2.5/InventoryItemsListResponse": list_inventory_items_response
|
||||
"/dfareporting:v2.5/LandingPagesListResponse": list_landing_pages_response
|
||||
"/dfareporting:v2.5/MetrosListResponse": list_metros_response
|
||||
"/dfareporting:v2.5/MobileCarriersListResponse": list_mobile_carriers_response
|
||||
"/dfareporting:v2.5/ObjectFilter/objectIds/object_id": obj_id
|
||||
"/dfareporting:v2.5/OperatingSystemVersionsListResponse": list_operating_system_versions_response
|
||||
"/dfareporting:v2.5/OperatingSystemsListResponse": list_operating_systems_response
|
||||
"/dfareporting:v2.5/OrderDocumentsListResponse": list_order_documents_response
|
||||
"/dfareporting:v2.5/OrdersListResponse": list_orders_response
|
||||
"/dfareporting:v2.5/PlacementGroupsListResponse": list_placement_groups_response
|
||||
"/dfareporting:v2.5/PlacementStrategiesListResponse": list_placement_strategies_response
|
||||
"/dfareporting:v2.5/PlacementsGenerateTagsResponse": generate_placements_tags_response
|
||||
"/dfareporting:v2.5/PlacementsListResponse": list_placements_response
|
||||
"/dfareporting:v2.5/PlatformTypesListResponse": list_platform_types_response
|
||||
"/dfareporting:v2.5/PostalCodesListResponse": list_postal_codes_response
|
||||
"/dfareporting:v2.5/ProjectsListResponse": list_projects_response
|
||||
"/dfareporting:v2.5/RegionsListResponse": list_regions_response
|
||||
"/dfareporting:v2.5/RemarketingListsListResponse": list_remarketing_lists_response
|
||||
"/dfareporting:v2.5/SitesListResponse": list_sites_response
|
||||
"/dfareporting:v2.5/SizesListResponse": list_sizes_response
|
||||
"/dfareporting:v2.5/SubaccountsListResponse": list_subaccounts_response
|
||||
"/dfareporting:v2.5/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response
|
||||
"/dfareporting:v2.5/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response
|
||||
"/dfareporting:v2.5/UserRolePermissionsListResponse": list_user_role_permissions_response
|
||||
"/dfareporting:v2.5/UserRolesListResponse": list_user_roles_response
|
||||
"/dfareporting:v2.5/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
|
||||
"/dfareporting:v2.5/dfareporting.placements.generatetags": generate_placement_tags
|
||||
"/dfareporting:v2.6/AccountPermissionGroupsListResponse": list_account_permission_groups_response
|
||||
"/dfareporting:v2.6/AccountPermissionsListResponse": list_account_permissions_response
|
||||
"/dfareporting:v2.6/AccountUserProfilesListResponse": list_account_user_profiles_response
|
||||
"/dfareporting:v2.6/AccountsListResponse": list_accounts_response
|
||||
"/dfareporting:v2.6/AdsListResponse": list_ads_response
|
||||
"/dfareporting:v2.6/AdvertiserGroupsListResponse": list_advertiser_groups_response
|
||||
"/dfareporting:v2.6/AdvertisersListResponse": list_advertisers_response
|
||||
"/dfareporting:v2.6/BrowsersListResponse": list_browsers_response
|
||||
"/dfareporting:v2.6/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response
|
||||
"/dfareporting:v2.6/CampaignsListResponse": list_campaigns_response
|
||||
"/dfareporting:v2.6/ChangeLog/objectId": obj_id
|
||||
"/dfareporting:v2.6/ChangeLogsListResponse": list_change_logs_response
|
||||
"/dfareporting:v2.6/CitiesListResponse": list_cities_response
|
||||
"/dfareporting:v2.6/ConnectionTypesListResponse": list_connection_types_response
|
||||
"/dfareporting:v2.6/ContentCategoriesListResponse": list_content_categories_response
|
||||
"/dfareporting:v2.6/CountriesListResponse": list_countries_response
|
||||
"/dfareporting:v2.6/CreativeFieldValuesListResponse": list_creative_field_values_response
|
||||
"/dfareporting:v2.6/CreativeFieldsListResponse": list_creative_fields_response
|
||||
"/dfareporting:v2.6/CreativeGroupsListResponse": list_creative_groups_response
|
||||
"/dfareporting:v2.6/CreativesListResponse": list_creatives_response
|
||||
"/dfareporting:v2.6/DimensionValueRequest": dimension_value_request
|
||||
"/dfareporting:v2.6/DirectorySiteContactsListResponse": list_directory_site_contacts_response
|
||||
"/dfareporting:v2.6/DirectorySitesListResponse": list_directory_sites_response
|
||||
"/dfareporting:v2.6/EventTagsListResponse": list_event_tags_response
|
||||
"/dfareporting:v2.6/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response
|
||||
"/dfareporting:v2.6/FloodlightActivitiesListResponse": list_floodlight_activities_response
|
||||
"/dfareporting:v2.6/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response
|
||||
"/dfareporting:v2.6/FloodlightConfigurationsListResponse": list_floodlight_configurations_response
|
||||
"/dfareporting:v2.6/InventoryItemsListResponse": list_inventory_items_response
|
||||
"/dfareporting:v2.6/LandingPagesListResponse": list_landing_pages_response
|
||||
"/dfareporting:v2.6/MetrosListResponse": list_metros_response
|
||||
"/dfareporting:v2.6/MobileCarriersListResponse": list_mobile_carriers_response
|
||||
"/dfareporting:v2.6/ObjectFilter/objectIds/object_id": obj_id
|
||||
"/dfareporting:v2.6/OperatingSystemVersionsListResponse": list_operating_system_versions_response
|
||||
"/dfareporting:v2.6/OperatingSystemsListResponse": list_operating_systems_response
|
||||
"/dfareporting:v2.6/OrderDocumentsListResponse": list_order_documents_response
|
||||
"/dfareporting:v2.6/OrdersListResponse": list_orders_response
|
||||
"/dfareporting:v2.6/PlacementGroupsListResponse": list_placement_groups_response
|
||||
"/dfareporting:v2.6/PlacementStrategiesListResponse": list_placement_strategies_response
|
||||
"/dfareporting:v2.6/PlacementsGenerateTagsResponse": generate_placements_tags_response
|
||||
"/dfareporting:v2.6/PlacementsListResponse": list_placements_response
|
||||
"/dfareporting:v2.6/PlatformTypesListResponse": list_platform_types_response
|
||||
"/dfareporting:v2.6/PostalCodesListResponse": list_postal_codes_response
|
||||
"/dfareporting:v2.6/ProjectsListResponse": list_projects_response
|
||||
"/dfareporting:v2.6/RegionsListResponse": list_regions_response
|
||||
"/dfareporting:v2.6/RemarketingListsListResponse": list_remarketing_lists_response
|
||||
"/dfareporting:v2.6/SitesListResponse": list_sites_response
|
||||
"/dfareporting:v2.6/SizesListResponse": list_sizes_response
|
||||
"/dfareporting:v2.6/SubaccountsListResponse": list_subaccounts_response
|
||||
"/dfareporting:v2.6/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response
|
||||
"/dfareporting:v2.6/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response
|
||||
"/dfareporting:v2.6/UserRolePermissionsListResponse": list_user_role_permissions_response
|
||||
"/dfareporting:v2.6/UserRolesListResponse": list_user_roles_response
|
||||
"/dfareporting:v2.6/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
|
||||
"/dfareporting:v2.6/dfareporting.placements.generatetags": generate_placement_tags
|
||||
"/discovery:v1/RestDescription/methods": api_methods
|
||||
"/discovery:v1/RestResource/methods": api_methods
|
||||
"/discovery:v1/discovery.apis.getRest": get_rest_api
|
||||
|
@ -865,13 +810,6 @@
|
|||
"/genomics:v1/genomics.variantsets.search": search_variant_sets
|
||||
"/genomics:v1/genomics.referencesets.search": search_reference_sets
|
||||
"/gmail:v1/gmail.users.getProfile": get_user_profile
|
||||
"/gmail:v1/ListSendAsResponse/sendAs/send_a": send_as
|
||||
"/gmail:v1/gmail.users.settings.sendAs.create": create_user_setting_send_as
|
||||
"/gmail:v1/gmail.users.settings.sendAs.delete": delete_user_setting_send_as
|
||||
"/gmail:v1/gmail.users.settings.sendAs.get": get_user_setting_send_as
|
||||
"/gmail:v1/gmail.users.settings.sendAs.patch": patch_user_setting_send_as
|
||||
"/gmail:v1/gmail.users.settings.sendAs.update": update_user_setting_send_as
|
||||
"/gmail:v1/gmail.users.settings.sendAs.verify": verify_user_setting_send_as
|
||||
"/groupssettings:v1?force_alt_json" : true
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest": set_project_config_request
|
||||
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request
|
||||
|
|
5402
api_names_out.yaml
5402
api_names_out.yaml
File diff suppressed because it is too large
Load Diff
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/ad-exchange/buyer-rest
|
||||
module AdexchangebuyerV1_4
|
||||
VERSION = 'V1_4'
|
||||
REVISION = '20160606'
|
||||
REVISION = '20160721'
|
||||
|
||||
# Manage your Ad Exchange buyer account configuration
|
||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||
|
|
|
@ -535,6 +535,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :deals_status
|
||||
|
||||
# Detected domains for this creative. Read-only. This field should not be set in
|
||||
# requests.
|
||||
# Corresponds to the JSON property `detectedDomains`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :detected_domains
|
||||
|
||||
# The filtering reasons for the creative. Read-only. This field should not be
|
||||
# set in requests.
|
||||
# Corresponds to the JSON property `filteringReasons`
|
||||
|
@ -640,6 +646,7 @@ module Google
|
|||
@click_through_url = args[:click_through_url] if args.key?(:click_through_url)
|
||||
@corrections = args[:corrections] if args.key?(:corrections)
|
||||
@deals_status = args[:deals_status] if args.key?(:deals_status)
|
||||
@detected_domains = args[:detected_domains] if args.key?(:detected_domains)
|
||||
@filtering_reasons = args[:filtering_reasons] if args.key?(:filtering_reasons)
|
||||
@height = args[:height] if args.key?(:height)
|
||||
@impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url)
|
||||
|
@ -1123,6 +1130,11 @@ module Google
|
|||
class DealServingMetadataDealPauseStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `buyerPauseReason`
|
||||
# @return [String]
|
||||
attr_accessor :buyer_pause_reason
|
||||
|
||||
# If the deal is paused, records which party paused the deal first.
|
||||
# Corresponds to the JSON property `firstPausedBy`
|
||||
# @return [String]
|
||||
|
@ -1140,15 +1152,22 @@ module Google
|
|||
attr_accessor :has_seller_paused
|
||||
alias_method :has_seller_paused?, :has_seller_paused
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `sellerPauseReason`
|
||||
# @return [String]
|
||||
attr_accessor :seller_pause_reason
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@buyer_pause_reason = args[:buyer_pause_reason] if args.key?(:buyer_pause_reason)
|
||||
@first_paused_by = args[:first_paused_by] if args.key?(:first_paused_by)
|
||||
@has_buyer_paused = args[:has_buyer_paused] if args.key?(:has_buyer_paused)
|
||||
@has_seller_paused = args[:has_seller_paused] if args.key?(:has_seller_paused)
|
||||
@seller_pause_reason = args[:seller_pause_reason] if args.key?(:seller_pause_reason)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1193,6 +1212,11 @@ module Google
|
|||
# @return [Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms]
|
||||
attr_accessor :non_guaranteed_fixed_price_terms
|
||||
|
||||
# The terms for rubicon non-guaranteed deals.
|
||||
# Corresponds to the JSON property `rubiconNonGuaranteedTerms`
|
||||
# @return [Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms]
|
||||
attr_accessor :rubicon_non_guaranteed_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`
|
||||
|
@ -1212,6 +1236,7 @@ module Google
|
|||
@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_fixed_price_terms = args[:non_guaranteed_fixed_price_terms] if args.key?(:non_guaranteed_fixed_price_terms)
|
||||
@rubicon_non_guaranteed_terms = args[:rubicon_non_guaranteed_terms] if args.key?(:rubicon_non_guaranteed_terms)
|
||||
@seller_time_zone = args[:seller_time_zone] if args.key?(:seller_time_zone)
|
||||
end
|
||||
end
|
||||
|
@ -1237,11 +1262,18 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :guaranteed_impressions
|
||||
|
||||
# Count of guaranteed looks. Required for deal, optional for product.
|
||||
# Count of guaranteed looks. Required for deal, optional for product. For CPD
|
||||
# deals, buyer changes to guaranteed_looks will be ignored.
|
||||
# Corresponds to the JSON property `guaranteedLooks`
|
||||
# @return [String]
|
||||
attr_accessor :guaranteed_looks
|
||||
|
||||
# Count of minimum daily looks for a CPD deal. For CPD deals, buyer should
|
||||
# negotiate on this field instead of guaranteed_looks.
|
||||
# Corresponds to the JSON property `minimumDailyLooks`
|
||||
# @return [String]
|
||||
attr_accessor :minimum_daily_looks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1252,6 +1284,7 @@ module Google
|
|||
@fixed_prices = args[:fixed_prices] if args.key?(:fixed_prices)
|
||||
@guaranteed_impressions = args[:guaranteed_impressions] if args.key?(:guaranteed_impressions)
|
||||
@guaranteed_looks = args[:guaranteed_looks] if args.key?(:guaranteed_looks)
|
||||
@minimum_daily_looks = args[:minimum_daily_looks] if args.key?(:minimum_daily_looks)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1273,8 +1306,9 @@ module Google
|
|||
attr_accessor :dfp_line_item_id
|
||||
|
||||
# The original contracted quantity (# impressions) for this deal. To ensure
|
||||
# delivery, sometimes publisher will book the deal with a impression buffer,
|
||||
# however clients are billed using the original contracted quantity.
|
||||
# delivery, sometimes the publisher will book the deal with a impression buffer,
|
||||
# such that guaranteed_looks is greater than the contracted quantity. However
|
||||
# clients are billed using the original contracted quantity.
|
||||
# Corresponds to the JSON property `originalContractedQuantity`
|
||||
# @return [String]
|
||||
attr_accessor :original_contracted_quantity
|
||||
|
@ -1344,6 +1378,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class DealTermsRubiconNonGuaranteedTerms
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional price for Rubicon priority access in the auction.
|
||||
# Corresponds to the JSON property `priorityPrice`
|
||||
# @return [Google::Apis::AdexchangebuyerV1_4::Price]
|
||||
attr_accessor :priority_price
|
||||
|
||||
# Optional price for Rubicon standard access in the auction.
|
||||
# Corresponds to the JSON property `standardPrice`
|
||||
# @return [Google::Apis::AdexchangebuyerV1_4::Price]
|
||||
attr_accessor :standard_price
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@priority_price = args[:priority_price] if args.key?(:priority_price)
|
||||
@standard_price = args[:standard_price] if args.key?(:standard_price)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class DeleteOrderDealsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1643,7 +1702,10 @@ module Google
|
|||
class GetOrderNotesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of matching notes.
|
||||
# The list of matching notes. The notes for a proposal are ordered from oldest
|
||||
# to newest. If the notes span multiple proposals, they will be grouped by
|
||||
# proposal, with the notes for the most recently modified proposal appearing
|
||||
# first.
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [Array<Google::Apis::AdexchangebuyerV1_4::MarketplaceNote>]
|
||||
attr_accessor :notes
|
||||
|
@ -1721,7 +1783,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :creative_safe_frame_compatibility
|
||||
|
||||
# A unique deal=id for the deal (readonly).
|
||||
# A unique deal-id for the deal (readonly).
|
||||
# Corresponds to the JSON property `dealId`
|
||||
# @return [String]
|
||||
attr_accessor :deal_id
|
||||
|
@ -2489,6 +2551,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :currency_code
|
||||
|
||||
# In case of CPD deals, the expected CPM in micros.
|
||||
# Corresponds to the JSON property `expectedCpmMicros`
|
||||
# @return [Float]
|
||||
attr_accessor :expected_cpm_micros
|
||||
|
||||
# The pricing type for the deal/product.
|
||||
# Corresponds to the JSON property `pricingType`
|
||||
# @return [String]
|
||||
|
@ -2502,6 +2569,7 @@ module Google
|
|||
def update!(**args)
|
||||
@amount_micros = args[:amount_micros] if args.key?(:amount_micros)
|
||||
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
||||
@expected_cpm_micros = args[:expected_cpm_micros] if args.key?(:expected_cpm_micros)
|
||||
@pricing_type = args[:pricing_type] if args.key?(:pricing_type)
|
||||
end
|
||||
end
|
||||
|
@ -2762,7 +2830,7 @@ module Google
|
|||
# @return [Google::Apis::AdexchangebuyerV1_4::Buyer]
|
||||
attr_accessor :buyer
|
||||
|
||||
# Optional contact information fort the buyer. (seller-readonly)
|
||||
# Optional contact information of the buyer. (seller-readonly)
|
||||
# Corresponds to the JSON property `buyerContacts`
|
||||
# @return [Array<Google::Apis::AdexchangebuyerV1_4::ContactInformation>]
|
||||
attr_accessor :buyer_contacts
|
||||
|
@ -2773,7 +2841,7 @@ module Google
|
|||
attr_accessor :buyer_private_data
|
||||
|
||||
# When an proposal is in an accepted state, indicates whether the buyer has
|
||||
# signed off Once both sides have signed off on a deal, the proposal can be
|
||||
# signed off. Once both sides have signed off on a deal, the proposal can be
|
||||
# finalized by the seller. (seller-readonly)
|
||||
# Corresponds to the JSON property `hasBuyerSignedOff`
|
||||
# @return [Boolean]
|
||||
|
@ -2868,7 +2936,7 @@ module Google
|
|||
# @return [Google::Apis::AdexchangebuyerV1_4::Seller]
|
||||
attr_accessor :seller
|
||||
|
||||
# Optional contact information for the seller (buyer-readonly).
|
||||
# Optional contact information of the seller (buyer-readonly).
|
||||
# Corresponds to the JSON property `sellerContacts`
|
||||
# @return [Array<Google::Apis::AdexchangebuyerV1_4::ContactInformation>]
|
||||
attr_accessor :seller_contacts
|
||||
|
|
|
@ -226,6 +226,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DealTermsRubiconNonGuaranteedTerms
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeleteOrderDealsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -615,6 +621,7 @@ module Google
|
|||
collection :corrections, as: 'corrections', class: Google::Apis::AdexchangebuyerV1_4::Creative::Correction, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Representation
|
||||
|
||||
property :deals_status, as: 'dealsStatus'
|
||||
collection :detected_domains, as: 'detectedDomains'
|
||||
property :filtering_reasons, as: 'filteringReasons', class: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons::Representation
|
||||
|
||||
property :height, as: 'height'
|
||||
|
@ -771,9 +778,11 @@ module Google
|
|||
class DealServingMetadataDealPauseStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :buyer_pause_reason, as: 'buyerPauseReason'
|
||||
property :first_paused_by, as: 'firstPausedBy'
|
||||
property :has_buyer_paused, as: 'hasBuyerPaused'
|
||||
property :has_seller_paused, as: 'hasSellerPaused'
|
||||
property :seller_pause_reason, as: 'sellerPauseReason'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -791,6 +800,8 @@ module Google
|
|||
|
||||
property :non_guaranteed_fixed_price_terms, as: 'nonGuaranteedFixedPriceTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms::Representation
|
||||
|
||||
property :rubicon_non_guaranteed_terms, as: 'rubiconNonGuaranteedTerms', class: Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms, decorator: Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms::Representation
|
||||
|
||||
property :seller_time_zone, as: 'sellerTimeZone'
|
||||
end
|
||||
end
|
||||
|
@ -804,6 +815,7 @@ module Google
|
|||
|
||||
property :guaranteed_impressions, as: 'guaranteedImpressions'
|
||||
property :guaranteed_looks, as: 'guaranteedLooks'
|
||||
property :minimum_daily_looks, as: 'minimumDailyLooks'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -835,6 +847,16 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DealTermsRubiconNonGuaranteedTerms
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :priority_price, as: 'priorityPrice', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
|
||||
|
||||
property :standard_price, as: 'standardPrice', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class DeleteOrderDealsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1139,6 +1161,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :amount_micros, as: 'amountMicros'
|
||||
property :currency_code, as: 'currencyCode'
|
||||
property :expected_cpm_micros, as: 'expectedCpmMicros'
|
||||
property :pricing_type, as: 'pricingType'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -673,8 +673,8 @@ module Google
|
|||
|
||||
# List all the deals for a given proposal
|
||||
# @param [String] proposal_id
|
||||
# The proposalId to get deals for. To search across proposals specify order_id =
|
||||
# '-' as part of the URL.
|
||||
# The proposalId to get deals for. To search across all proposals specify
|
||||
# order_id = '-' as part of the URL.
|
||||
# @param [String] pql_query
|
||||
# Query string to retrieve specific deals.
|
||||
# @param [String] fields
|
||||
|
@ -788,7 +788,12 @@ module Google
|
|||
|
||||
# Get all the notes associated with a proposal
|
||||
# @param [String] proposal_id
|
||||
# The proposalId to get notes for.
|
||||
# The proposalId to get notes for. To search across all proposals specify
|
||||
# order_id = '-' as part of the URL.
|
||||
# @param [String] pql_query
|
||||
# Query string to retrieve specific notes. To search the text contents of notes,
|
||||
# please use syntax like "WHERE note.note = "foo" or "WHERE note.note LIKE "%bar%
|
||||
# "
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -810,11 +815,12 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_marketplacenotes(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'proposals/{proposalId}/notes', options)
|
||||
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse::Representation
|
||||
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse
|
||||
command.params['proposalId'] = proposal_id unless proposal_id.nil?
|
||||
command.query['pqlQuery'] = pql_query unless pql_query.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?
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# Ad Exchange Seller API
|
||||
#
|
||||
# Gives Ad Exchange seller users access to their inventory and the ability to
|
||||
# generate reports
|
||||
# Accesses the inventory of Ad Exchange seller users and generates reports.
|
||||
#
|
||||
# @see https://developers.google.com/ad-exchange/seller-rest/
|
||||
module AdexchangesellerV2_0
|
||||
VERSION = 'V2_0'
|
||||
REVISION = '20160513'
|
||||
REVISION = '20160805'
|
||||
|
||||
# View and manage your Ad Exchange data
|
||||
AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module AdexchangesellerV2_0
|
||||
# Ad Exchange Seller API
|
||||
#
|
||||
# Gives Ad Exchange seller users access to their inventory and the ability to
|
||||
# generate reports
|
||||
# Accesses the inventory of Ad Exchange seller users and generates reports.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/adexchangeseller_v2_0'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/admin-sdk/directory/
|
||||
module AdminDirectoryV1
|
||||
VERSION = 'DirectoryV1'
|
||||
REVISION = '20160323'
|
||||
REVISION = '20160715'
|
||||
|
||||
# View and manage customer related information
|
||||
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
||||
|
|
|
@ -1064,6 +1064,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :role
|
||||
|
||||
# Status of member (Immutable)
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
# Type of member (Immutable)
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
|
@ -1080,6 +1085,7 @@ module Google
|
|||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@role = args[:role] if args.key?(:role)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -636,6 +636,7 @@ module Google
|
|||
property :id, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :role, as: 'role'
|
||||
property :status, as: 'status'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -382,7 +382,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrives a customer.
|
||||
# Retrieves a customer.
|
||||
# @param [String] customer_key
|
||||
# Id of the customer to be retrieved
|
||||
# @param [String] fields
|
||||
|
@ -679,7 +679,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrives a domain of the customer.
|
||||
# Retrieves a domain of the customer.
|
||||
# @param [String] customer
|
||||
# Immutable id of the Google Apps account.
|
||||
# @param [String] domain_name
|
||||
|
|
|
@ -20,13 +20,13 @@ module Google
|
|||
module Apis
|
||||
# Admin Reports API
|
||||
#
|
||||
# Allows the administrators of Google Apps customers to fetch reports about the
|
||||
# usage, collaboration, security and risk for their users.
|
||||
# Fetches reports for the administrators of Google Apps customers about the
|
||||
# usage, collaboration, security, and risk for their users.
|
||||
#
|
||||
# @see https://developers.google.com/admin-sdk/reports/
|
||||
module AdminReportsV1
|
||||
VERSION = 'ReportsV1'
|
||||
REVISION = '20151113'
|
||||
REVISION = '20160704'
|
||||
|
||||
# View audit reports of Google Apps for your domain
|
||||
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
||||
|
|
|
@ -22,8 +22,8 @@ module Google
|
|||
module AdminReportsV1
|
||||
# Admin Reports API
|
||||
#
|
||||
# Allows the administrators of Google Apps customers to fetch reports about the
|
||||
# usage, collaboration, security and risk for their users.
|
||||
# Fetches reports for the administrators of Google Apps customers about the
|
||||
# usage, collaboration, security, and risk for their users.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/admin_reports_v1'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/management/
|
||||
module AdsenseV1_4
|
||||
VERSION = 'V1_4'
|
||||
REVISION = '20160705'
|
||||
REVISION = '20160803'
|
||||
|
||||
# View and manage your AdSense data
|
||||
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/host/
|
||||
module AdsensehostV4_1
|
||||
VERSION = 'V4_1'
|
||||
REVISION = '20160705'
|
||||
REVISION = '20160803'
|
||||
|
||||
# View and manage your AdSense host data and associated accounts
|
||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/analytics/
|
||||
module AnalyticsV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20160401'
|
||||
REVISION = '20160726'
|
||||
|
||||
# View and manage your Google Analytics data
|
||||
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
||||
|
|
|
@ -4425,7 +4425,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :dimensions
|
||||
|
||||
# The type of download you need to use for the report data file.
|
||||
# The type of download you need to use for the report data file. Possible values
|
||||
# include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is `
|
||||
# GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is `
|
||||
# GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field.
|
||||
# Corresponds to the JSON property `downloadType`
|
||||
# @return [String]
|
||||
attr_accessor :download_type
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
|
||||
module AnalyticsreportingV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20160616'
|
||||
REVISION = '20160714'
|
||||
|
||||
# View your Google Analytics data
|
||||
AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
|
||||
|
|
|
@ -47,7 +47,9 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A metric in the request.
|
||||
# [Metrics](https://support.google.com/analytics/answer/1033861)
|
||||
# are the quantitative measurements. For example, the metric `ga:users`
|
||||
# indicates the total number of users for the requested time period.
|
||||
class Metric
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -358,7 +360,8 @@ module Google
|
|||
# @return [Google::Apis::AnalyticsreportingV4::CohortGroup]
|
||||
attr_accessor :cohort_group
|
||||
|
||||
# Dimensions requested in the request.
|
||||
# The dimensions requested.
|
||||
# Requests can have a total of 7 dimensions.
|
||||
# Corresponds to the JSON property `dimensions`
|
||||
# @return [Array<Google::Apis::AnalyticsreportingV4::Dimension>]
|
||||
attr_accessor :dimensions
|
||||
|
@ -394,7 +397,7 @@ module Google
|
|||
# @return [Array<Google::Apis::AnalyticsreportingV4::DimensionFilterClause>]
|
||||
attr_accessor :dimension_filter_clauses
|
||||
|
||||
# The pivot definitions.
|
||||
# The pivot definitions. Requests can have a maximum of 2 pivots.
|
||||
# Corresponds to the JSON property `pivots`
|
||||
# @return [Array<Google::Apis::AnalyticsreportingV4::Pivot>]
|
||||
attr_accessor :pivots
|
||||
|
@ -434,8 +437,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :sampling_level
|
||||
|
||||
# Metrics, the quantitative measurements, requested in the request.
|
||||
# Requests must specify at least one metric.
|
||||
# The metrics requested.
|
||||
# Requests must specify at least one metric. Requests can have a
|
||||
# total of 10 metrics.
|
||||
# Corresponds to the JSON property `metrics`
|
||||
# @return [Array<Google::Apis::AnalyticsreportingV4::Metric>]
|
||||
attr_accessor :metrics
|
||||
|
@ -987,12 +991,14 @@ module Google
|
|||
class Pivot
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of dimensions to show as pivot columns.
|
||||
# A list of dimensions to show as pivot columns. A Pivot can have a maximum
|
||||
# of 4 dimensions.
|
||||
# Corresponds to the JSON property `dimensions`
|
||||
# @return [Array<Google::Apis::AnalyticsreportingV4::Dimension>]
|
||||
attr_accessor :dimensions
|
||||
|
||||
# Metrics to aggregate and return.
|
||||
# The pivot metrics. Pivot metrics are part of the
|
||||
# restriction on total number of metrics in the request.
|
||||
# Corresponds to the JSON property `metrics`
|
||||
# @return [Array<Google::Apis::AnalyticsreportingV4::Metric>]
|
||||
attr_accessor :metrics
|
||||
|
@ -1331,7 +1337,10 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A dimension in the request.
|
||||
# [Dimensions](https://support.google.com/analytics/answer/1033861)
|
||||
# are attributes of your data. For example, the dimension `ga:city`
|
||||
# indicates the city, for example, "Paris" or "New York", from which
|
||||
# a session originates.
|
||||
class Dimension
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android/work/play/emm-api
|
||||
module AndroidenterpriseV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160704'
|
||||
REVISION = '20160727'
|
||||
|
||||
# Manage corporate Android devices
|
||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||
|
|
|
@ -124,6 +124,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# For bundle or bundleArray restrictions, the list of nested restrictions.
|
||||
# Corresponds to the JSON property `nestedRestriction`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction>]
|
||||
attr_accessor :nested_restriction
|
||||
|
||||
# The type of the restriction.
|
||||
# Corresponds to the JSON property `restrictionType`
|
||||
# @return [String]
|
||||
|
@ -145,6 +150,7 @@ module Google
|
|||
@entry = args[:entry] if args.key?(:entry)
|
||||
@entry_value = args[:entry_value] if args.key?(:entry_value)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@nested_restriction = args[:nested_restriction] if args.key?(:nested_restriction)
|
||||
@restriction_type = args[:restriction_type] if args.key?(:restriction_type)
|
||||
@title = args[:title] if args.key?(:title)
|
||||
end
|
||||
|
@ -510,22 +516,18 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An enterprise resource represents the binding between an EMM and a specific
|
||||
# organization.
|
||||
# That binding can be instantiated in one of two different ways using this API
|
||||
# as follows:
|
||||
#
|
||||
# An Enterprises resource represents the binding between an EMM and a specific
|
||||
# organization. That binding can be instantiated in one of two different ways
|
||||
# using this API as follows:
|
||||
# - For Google managed domain customers, the process involves using Enterprises.
|
||||
# enroll and Enterprises.setAccount (in conjunction with artifacts obtained from
|
||||
# the Admin console and the Google Developers console) and submitted to the EMM
|
||||
# through a more-or-less manual process.
|
||||
# - An alternative process that takes advantage of Google-provided mechanisms (
|
||||
# Android for Work Sign-up UI) that expedite the process involves Enterprises.
|
||||
# generateSignupUrl, Enterprises.completeSignup, Enterprises.getServiceAccount (
|
||||
# optional), and Enterprises.setAccount.
|
||||
# The overall processes are very different and involve different identity models,
|
||||
# but as an EMM, you can support either or both approaches in your EMM console.
|
||||
# See EMM Developer's Guide for details.
|
||||
# the Admin console and the Google API Console) and submitted to the EMM through
|
||||
# a more-or-less manual process.
|
||||
# - For Android for Work Accounts customers, the process involves using
|
||||
# Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction
|
||||
# with the Android for Work Sign-up UI (Google-provided mechanism) to create the
|
||||
# binding without manual steps. As an EMM, you can support either or both
|
||||
# approaches in your EMM console. See Create an Enterprise for details.
|
||||
class Enterprise
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -546,12 +548,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The name of the enterprise, e.g. "Example Inc".
|
||||
# The name of the enterprise, for example, "Example, Inc".
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The enterprise's primary domain, e.g. "example.com".
|
||||
# The enterprise's primary domain, such as "example.com".
|
||||
# Corresponds to the JSON property `primaryDomain`
|
||||
# @return [String]
|
||||
attr_accessor :primary_domain
|
||||
|
@ -1019,6 +1021,175 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A managed configuration resource contains the set of managed properties that
|
||||
# have been configured for an Android app. The app's developer would have
|
||||
# defined configurable properties in the managed configurations schema.
|
||||
class ManagedConfiguration
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "
|
||||
# androidenterprise#managedConfiguration".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The set of managed properties for this configuration.
|
||||
# Corresponds to the JSON property `managedProperty`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
|
||||
attr_accessor :managed_property
|
||||
|
||||
# The ID of the product that the managed configuration is for, e.g. "app:com.
|
||||
# google.android.gm".
|
||||
# Corresponds to the JSON property `productId`
|
||||
# @return [String]
|
||||
attr_accessor :product_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@managed_property = args[:managed_property] if args.key?(:managed_property)
|
||||
@product_id = args[:product_id] if args.key?(:product_id)
|
||||
end
|
||||
end
|
||||
|
||||
# The managed configuration resources for the device.
|
||||
class ManagedConfigurationsForDeviceListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "
|
||||
# androidenterprise#managedConfigurationsForDeviceListResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# A managed configuration for an app on a specific device.
|
||||
# Corresponds to the JSON property `managedConfigurationForDevice`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfiguration>]
|
||||
attr_accessor :managed_configuration_for_device
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@managed_configuration_for_device = args[:managed_configuration_for_device] if args.key?(:managed_configuration_for_device)
|
||||
end
|
||||
end
|
||||
|
||||
# The managed configuration resources for the user.
|
||||
class ManagedConfigurationsForUserListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "
|
||||
# androidenterprise#managedConfigurationsForUserListResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# A managed configuration for an app for a specific user.
|
||||
# Corresponds to the JSON property `managedConfigurationForUser`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfiguration>]
|
||||
attr_accessor :managed_configuration_for_user
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@managed_configuration_for_user = args[:managed_configuration_for_user] if args.key?(:managed_configuration_for_user)
|
||||
end
|
||||
end
|
||||
|
||||
# A managed property of a managed configuration. The property must match one of
|
||||
# the properties in the app restrictions schema of the product. Exactly one of
|
||||
# the value fields must be populated, and it must match the property's type in
|
||||
# the app restrictions schema.
|
||||
class ManagedProperty
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The unique key that identifies the property.
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# The boolean value - this will only be present if type of the property is bool.
|
||||
# Corresponds to the JSON property `valueBool`
|
||||
# @return [Boolean]
|
||||
attr_accessor :value_bool
|
||||
alias_method :value_bool?, :value_bool
|
||||
|
||||
# A bundle of managed properties.
|
||||
# Corresponds to the JSON property `valueBundle`
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle]
|
||||
attr_accessor :value_bundle
|
||||
|
||||
# The list of bundles of properties - this will only be present if type of the
|
||||
# property is bundle_array.
|
||||
# Corresponds to the JSON property `valueBundleArray`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle>]
|
||||
attr_accessor :value_bundle_array
|
||||
|
||||
# The integer value - this will only be present if type of the property is
|
||||
# integer.
|
||||
# Corresponds to the JSON property `valueInteger`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :value_integer
|
||||
|
||||
# The string value - this will only be present if type of the property is string,
|
||||
# choice or hidden.
|
||||
# Corresponds to the JSON property `valueString`
|
||||
# @return [String]
|
||||
attr_accessor :value_string
|
||||
|
||||
# The list of string values - this will only be present if type of the property
|
||||
# is multiselect.
|
||||
# Corresponds to the JSON property `valueStringArray`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :value_string_array
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value_bool = args[:value_bool] if args.key?(:value_bool)
|
||||
@value_bundle = args[:value_bundle] if args.key?(:value_bundle)
|
||||
@value_bundle_array = args[:value_bundle_array] if args.key?(:value_bundle_array)
|
||||
@value_integer = args[:value_integer] if args.key?(:value_integer)
|
||||
@value_string = args[:value_string] if args.key?(:value_string)
|
||||
@value_string_array = args[:value_string_array] if args.key?(:value_string_array)
|
||||
end
|
||||
end
|
||||
|
||||
# A bundle of managed properties.
|
||||
class ManagedPropertyBundle
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of managed properties.
|
||||
# Corresponds to the JSON property `managedProperty`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
|
||||
attr_accessor :managed_property
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@managed_property = args[:managed_property] if args.key?(:managed_property)
|
||||
end
|
||||
end
|
||||
|
||||
# An event generated when new permissions are added to an app.
|
||||
class NewPermissionsEvent
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1287,7 +1458,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :product_id
|
||||
|
||||
# Whether this product is free, free with in-app purchases, or paid.
|
||||
# Whether this product is free, free with in-app purchases, or paid. If the
|
||||
# pricing is unknown, this means the product is not generally available anymore (
|
||||
# even though it might still be available to people who own it).
|
||||
# Corresponds to the JSON property `productPricing`
|
||||
# @return [String]
|
||||
attr_accessor :product_pricing
|
||||
|
@ -1750,8 +1923,8 @@ module Google
|
|||
|
||||
# The ID of the store page to be used as the homepage. The homepage will be used
|
||||
# as the first page shown in the Google Play for Work store.
|
||||
# If there is no homepage set, an empty store is shown. The homepage can be
|
||||
# unset (by not specifying it) to empty the store.
|
||||
# If a homepage has not been set, the Play store shown on devices will be empty.
|
||||
# Not specifying a homepage on a store layout effectively empties the store.
|
||||
# If there exists at least one page, this field must be set to the ID of a valid
|
||||
# page.
|
||||
# Corresponds to the JSON property `homepageId`
|
||||
|
@ -1901,36 +2074,34 @@ module Google
|
|||
# account may be specific to a device or to an individual user (who can then use
|
||||
# the account across multiple devices). The account may provide access to Google
|
||||
# Play for Work only, or to other Google services, depending on the identity
|
||||
# model used:
|
||||
# model:
|
||||
# - Google managed domain identity model requires synchronization to Google
|
||||
# account sources (via primaryEmail).
|
||||
# - Android for Work accounts identity model provides a dynamic means for
|
||||
# - Android for Work Accounts identity model provides a dynamic means for
|
||||
# enterprises to create user or device accounts as needed. These accounts
|
||||
# provide access to Google Play for Work only.
|
||||
class User
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The id as used by the EMM for this user, e.g. "user342" or "asset#44418". Will
|
||||
# always be set for EMM managed users and not set for Google managed users. For
|
||||
# privacy sensitive deployments it should not be possible to identify the
|
||||
# individual with this identifier.
|
||||
# A unique identifier you create for this user, such as "user342" or "asset#
|
||||
# 44418". Do not use personally identifiable information (PII) for this property.
|
||||
# Must always be set for EMM-managed users. Not set for Google-managed users.
|
||||
# Corresponds to the JSON property `accountIdentifier`
|
||||
# @return [String]
|
||||
attr_accessor :account_identifier
|
||||
|
||||
# The type of account that this user represents. A "deviceAccount" is specific
|
||||
# to a single device while a "userAccount" represents a traditional user account,
|
||||
# i.e. one that can be installed on multiple devices. "googleManaged" users
|
||||
# will always be a "userAccount" but "emmManaged" users can be either a "
|
||||
# userAccount" or a "deviceAccount".
|
||||
# The type of account that this user represents. A userAccount can be installed
|
||||
# on multiple devices, but a deviceAccount is specific to a single device. An
|
||||
# EMM-managed user (emmManaged) can be either type (userAccount, deviceAccount),
|
||||
# but a Google-managed user (googleManaged) is always a userAccount.
|
||||
# Corresponds to the JSON property `accountType`
|
||||
# @return [String]
|
||||
attr_accessor :account_type
|
||||
|
||||
# The user's name as it is to be presented in user interfaces, e.g. "John". Can
|
||||
# optionally be set for EMM managed users and will not be set for Google managed
|
||||
# users. For privacy sensitive deployments this should be left unset or set to
|
||||
# something generic.
|
||||
# The name that will appear in user interfaces. Setting this property is
|
||||
# optional when creating EMM-managed users. If you do set this property, use
|
||||
# something generic about the organization (such as "Example, Inc.") or your
|
||||
# name (as EMM). Not used for Google-managed user accounts.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
@ -1946,9 +2117,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The entity that manages the user. With "googleManaged" users, the source of
|
||||
# truth is Google so EMMs have to make sure a Google account exists for the user.
|
||||
# With "emmManaged" users, the EMM is in charge.
|
||||
# The entity that manages the user. With googleManaged users, the source of
|
||||
# truth is Google so EMMs have to make sure a Google Account exists for the user.
|
||||
# With emmManaged users, the EMM is in charge.
|
||||
# Corresponds to the JSON property `managementType`
|
||||
# @return [String]
|
||||
attr_accessor :management_type
|
||||
|
|
|
@ -190,6 +190,36 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedConfiguration
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedConfigurationsForDeviceListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedConfigurationsForUserListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedProperty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedPropertyBundle
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NewPermissionsEvent
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -384,6 +414,8 @@ module Google
|
|||
collection :entry, as: 'entry'
|
||||
collection :entry_value, as: 'entryValue'
|
||||
property :key, as: 'key'
|
||||
collection :nested_restriction, as: 'nestedRestriction', class: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction, decorator: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction::Representation
|
||||
|
||||
property :restriction_type, as: 'restrictionType'
|
||||
property :title, as: 'title'
|
||||
end
|
||||
|
@ -609,6 +641,57 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedConfiguration
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
|
||||
|
||||
property :product_id, as: 'productId'
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedConfigurationsForDeviceListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :managed_configuration_for_device, as: 'managedConfigurationForDevice', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedConfigurationsForUserListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :managed_configuration_for_user, as: 'managedConfigurationForUser', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedProperty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value_bool, as: 'valueBool'
|
||||
property :value_bundle, as: 'valueBundle', class: Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle, decorator: Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle::Representation
|
||||
|
||||
collection :value_bundle_array, as: 'valueBundleArray', class: Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle, decorator: Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle::Representation
|
||||
|
||||
property :value_integer, as: 'valueInteger'
|
||||
property :value_string, as: 'valueString'
|
||||
collection :value_string_array, as: 'valueStringArray'
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedPropertyBundle
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class NewPermissionsEvent
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -906,6 +906,7 @@ module Google
|
|||
# Once the service account is bound to the enterprise, it can be managed using
|
||||
# the serviceAccountKeys resource.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] key_type
|
||||
# The type of credential to return with the service account. Required.
|
||||
# @param [String] fields
|
||||
|
@ -941,7 +942,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the store layout resource.
|
||||
# Returns the store layout for the enterprise. If the store layout has not been
|
||||
# set, or if the store layout has no homepageId set, returns a NOT_FOUND error.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] fields
|
||||
|
@ -1178,7 +1180,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the store layout resource.
|
||||
# Sets the store layout for the enterprise.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object
|
||||
|
@ -1811,6 +1813,448 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Removes a per-device managed configuration for an app for the specified device.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] device_id
|
||||
# The Android ID of the device.
|
||||
# @param [String] managed_configuration_for_device_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @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 delete_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['deviceId'] = device_id unless device_id.nil?
|
||||
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_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 details of a per-device managed configuration.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] device_id
|
||||
# The Android ID of the device.
|
||||
# @param [String] managed_configuration_for_device_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @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::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
||||
#
|
||||
# @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_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['deviceId'] = device_id unless device_id.nil?
|
||||
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_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
|
||||
|
||||
# Lists all the per-device managed configurations for the specified device. Only
|
||||
# the ID is set.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] device_id
|
||||
# The Android ID of the device.
|
||||
# @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::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse]
|
||||
#
|
||||
# @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_managedconfigurationsfordevices(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice', options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['deviceId'] = device_id unless device_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
|
||||
|
||||
# Adds or updates a per-device managed configuration for an app for the
|
||||
# specified device. This method supports patch semantics.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] device_id
|
||||
# The Android ID of the device.
|
||||
# @param [String] managed_configuration_for_device_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_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::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
||||
#
|
||||
# @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 patch_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.request_object = managed_configuration_object
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['deviceId'] = device_id unless device_id.nil?
|
||||
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_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
|
||||
|
||||
# Adds or updates a per-device managed configuration for an app for the
|
||||
# specified device.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] device_id
|
||||
# The Android ID of the device.
|
||||
# @param [String] managed_configuration_for_device_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_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::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
||||
#
|
||||
# @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_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.request_object = managed_configuration_object
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['deviceId'] = device_id unless device_id.nil?
|
||||
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_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
|
||||
|
||||
# Removes a per-user managed configuration for an app for the specified user.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] managed_configuration_for_user_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @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 delete_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_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 details of a per-user managed configuration for an app for the
|
||||
# specified user.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] managed_configuration_for_user_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @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::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
||||
#
|
||||
# @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_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_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
|
||||
|
||||
# Lists all the per-user managed configurations for the specified user. Only the
|
||||
# ID is set.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @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::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse]
|
||||
#
|
||||
# @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_managedconfigurationsforusers(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser', options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_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
|
||||
|
||||
# Adds or updates a per-user managed configuration for an app for the specified
|
||||
# user. This method supports patch semantics.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] managed_configuration_for_user_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_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::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
||||
#
|
||||
# @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 patch_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.request_object = managed_configuration_object
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_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
|
||||
|
||||
# Adds or updates a per-user managed configuration for an app for the specified
|
||||
# user.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
# The ID of the user.
|
||||
# @param [String] managed_configuration_for_user_id
|
||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
||||
# android.gm".
|
||||
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_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::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
||||
#
|
||||
# @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_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.request_object = managed_configuration_object
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_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 details of an Android app permission for display to an enterprise
|
||||
# admin.
|
||||
# @param [String] permission_id
|
||||
|
@ -1983,9 +2427,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves the schema defining app restrictions configurable for this product.
|
||||
# All products have a schema, but this may be empty if no app restrictions are
|
||||
# defined.
|
||||
# Retrieves the schema that defines the configurable properties for this product.
|
||||
# All products have a schema, but this schema may be empty if no managed
|
||||
# configurations have been defined. This schema can be used to populate a UI
|
||||
# that allows an administrator to configure the product. To apply a managed
|
||||
# configuration based on the schema obtained using this API, see Managed
|
||||
# Configurations through Play.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] product_id
|
||||
|
@ -2064,7 +2511,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Finds approved products that match a query.
|
||||
# Finds approved products that match a query, or all approved products if there
|
||||
# is no query.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [Boolean] approved
|
||||
|
@ -2080,7 +2528,8 @@ module Google
|
|||
# retrievable within a single response.
|
||||
# @param [String] query
|
||||
# The search query as typed in the Google Play Store search box. If omitted, all
|
||||
# approved apps will be returned (using the pagination parameters).
|
||||
# approved apps will be returned (using the pagination parameters), including
|
||||
# apps that are not available in the store (e.g. unpublished apps).
|
||||
# @param [String] token
|
||||
# A pagination token is contained in a requests response when there are more
|
||||
# products. The token can be used in a subsequent request to obtain more
|
||||
|
@ -2994,9 +3443,8 @@ module Google
|
|||
end
|
||||
|
||||
# Creates a new EMM-managed user.
|
||||
# The required details of the user are passed in the Users resource in the body
|
||||
# of the request. Specifically, the accountIdentifier, accountType, and
|
||||
# displayName fields must be provided.
|
||||
# The Users resource passed in the body of the request should include an
|
||||
# accountIdentifier and an accountType.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::User] user_object
|
||||
|
@ -3034,9 +3482,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Looks up a user by their primary email address. This is only supported for
|
||||
# Google-managed users. Lookup of the id is not needed for EMM-managed users
|
||||
# because the id is already returned in the result of the Users.insert call.
|
||||
# Looks up a user by primary email address. This is only supported for Google-
|
||||
# managed users. Lookup of the id is not needed for EMM-managed users because
|
||||
# the id is already returned in the result of the Users.insert call.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] email
|
||||
|
@ -3075,10 +3523,10 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the details of an EMM-managed user.
|
||||
# This only works with EMM-managed users. Pass the new details in Users resource
|
||||
# in the request body. Only the displayName field can be changed. Other fields
|
||||
# must either be unset or have the currently active value. This method supports
|
||||
# patch semantics.
|
||||
# Can be used with EMM-managed users only (not Google managed users). Pass the
|
||||
# new details in the Users resource in the request body. Only the displayName
|
||||
# field can be changed. Other fields must either be unset or have the currently
|
||||
# active value. This method supports patch semantics.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
|
@ -3197,9 +3645,10 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the details of an EMM-managed user.
|
||||
# This only works with EMM-managed users. Pass the new details in Users resource
|
||||
# in the request body. Only the displayName field can be changed. Other fields
|
||||
# must either be unset or have the currently active value.
|
||||
# Can be used with EMM-managed users only (not Google managed users). Pass the
|
||||
# new details in the Users resource in the request body. Only the displayName
|
||||
# field can be changed. Other fields must either be unset or have the currently
|
||||
# active value.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] user_id
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android-publisher
|
||||
module AndroidpublisherV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20160627'
|
||||
REVISION = '20160722'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -1373,8 +1373,9 @@ module Google
|
|||
class SubscriptionDeferralInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The desired next expiry time for the subscription in milliseconds since Epoch.
|
||||
# The given time must be after the current expiry time for the subscription.
|
||||
# The desired next expiry time to assign to the subscription, in milliseconds
|
||||
# since the Epoch. The given time must be later/greater than the current expiry
|
||||
# time for the subscription.
|
||||
# Corresponds to the JSON property `desiredExpiryTimeMillis`
|
||||
# @return [String]
|
||||
attr_accessor :desired_expiry_time_millis
|
||||
|
@ -1408,8 +1409,8 @@ module Google
|
|||
attr_accessor :auto_renewing
|
||||
alias_method :auto_renewing?, :auto_renewing
|
||||
|
||||
# The cancel reason of the subscription, if the subscription is not auto
|
||||
# renewing. Possible values are:
|
||||
# The reason why a subscription was cancelled or is not auto-renewing. Possible
|
||||
# values are:
|
||||
# - User cancelled the subscription
|
||||
# - Subscription was cancelled by the system, for example because of a billing
|
||||
# problem
|
||||
|
@ -1429,7 +1430,7 @@ module Google
|
|||
# @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 the Epoch.
|
||||
# Corresponds to the JSON property `expiryTimeMillis`
|
||||
# @return [String]
|
||||
attr_accessor :expiry_time_millis
|
||||
|
@ -1448,8 +1449,8 @@ module Google
|
|||
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.
|
||||
# units, where 1,000,000 micro-units represents 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
|
||||
|
@ -1460,7 +1461,7 @@ module Google
|
|||
# @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 the Epoch.
|
||||
# Corresponds to the JSON property `startTimeMillis`
|
||||
# @return [String]
|
||||
attr_accessor :start_time_millis
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta5
|
||||
VERSION = 'V1beta5'
|
||||
REVISION = '20160614'
|
||||
REVISION = '20160802'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -208,13 +208,31 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Instance
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListInstancesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Instance
|
||||
class DebugInstanceRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Location
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
|
@ -591,15 +609,6 @@ module Google
|
|||
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
|
||||
|
@ -621,6 +630,40 @@ module Google
|
|||
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 DebugInstanceRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :locations, as: 'locations', class: Google::Apis::AppengineV1beta5::Location, decorator: Google::Apis::AppengineV1beta5::Location::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :labels, as: 'labels'
|
||||
hash :metadata, as: 'metadata'
|
||||
end
|
||||
end
|
||||
|
||||
class OperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -658,6 +701,8 @@ module Google
|
|||
class LocationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :standard_environment_available, as: 'standardEnvironmentAvailable'
|
||||
property :flexible_environment_available, as: 'flexibleEnvironmentAvailable'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -46,9 +46,43 @@ module Google
|
|||
super('https://appengine.googleapis.com/', '')
|
||||
end
|
||||
|
||||
# Creates an App Engine application for a Google Cloud Platform project. This
|
||||
# requires a project that excludes an App Engine application. For details about
|
||||
# creating a project without an application, see the [Google Cloud Resource
|
||||
# Manager create project topic](https://cloud.google.com/resource-manager/docs/
|
||||
# creating-project).
|
||||
# @param [Google::Apis::AppengineV1beta5::Application] application_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::AppengineV1beta5::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1beta5::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 create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta5/apps', options)
|
||||
command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation
|
||||
command.request_object = application_object
|
||||
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets information about an application.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the application to get. For example: "apps/myapp".
|
||||
# Part of `name`. Name of the application to get. Example: `apps/myapp`.
|
||||
# @param [Boolean] ensure_resources_exist
|
||||
# Certain resources associated with an application are created on-demand.
|
||||
# Controls whether these resources should be created when performing the `GET`
|
||||
|
@ -160,10 +194,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a service and all enclosed versions.
|
||||
# Deletes the specified service and all enclosed versions.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
||||
# services/default".
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] fields
|
||||
|
@ -194,10 +228,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the current configuration of the service.
|
||||
# Gets the current configuration of the specified service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
||||
# services/default".
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] fields
|
||||
|
@ -230,7 +264,7 @@ module Google
|
|||
|
||||
# Lists all the services in the application.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. For example: "apps/myapp".
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp`.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum results to return per page.
|
||||
# @param [String] page_token
|
||||
|
@ -266,16 +300,26 @@ module Google
|
|||
|
||||
# Updates the configuration of the specified service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
||||
# services/default".
|
||||
# Part of `name`. Name of the resource to update. Example: `apps/myapp/services/
|
||||
# default`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [Google::Apis::AppengineV1beta5::Service] service_object
|
||||
# @param [String] mask
|
||||
# Standard field mask for the set of fields to be updated.
|
||||
# @param [Boolean] migrate_traffic
|
||||
# Whether to use Traffic Migration to shift traffic gradually. Traffic can only
|
||||
# be migrated from a single version to another single version.
|
||||
# Set to `true` to gradually shift traffic from one version to another single
|
||||
# version. By default, traffic is shifted immediately. For gradual traffic
|
||||
# migration, the target version must be located within instances that are
|
||||
# configured for both [warmup requests](https://cloud.google.com/appengine/docs/
|
||||
# admin-api/reference/rest/v1beta5/apps.services.versions#inboundservicetype)
|
||||
# and [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/
|
||||
# reference/rest/v1beta5/apps.services.versions#automaticscaling). You must
|
||||
# specify the [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/
|
||||
# reference/rest/v1beta5/apps.services#shardby) field in the Service resource.
|
||||
# Gradual traffic migration is not supported in the App Engine flexible
|
||||
# environment. For examples, see [Migrating and Splitting Traffic](https://cloud.
|
||||
# google.com/appengine/docs/admin-api/migrating-splitting-traffic).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -308,7 +352,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deploys new code and resource files to a version.
|
||||
# Deploys new code and resource files to a new version.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
||||
# services/default".
|
||||
|
@ -347,8 +391,8 @@ module Google
|
|||
|
||||
# Deletes an existing version.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
||||
# services/default/versions/v1".
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default/versions/v1`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] versions_id
|
||||
|
@ -382,10 +426,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets application deployment information.
|
||||
# Gets the specified Version resource. By default, only a `BASIC_VIEW` will be
|
||||
# returned. Specify the `FULL_VIEW` parameter to get the full resource.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
||||
# services/default/versions/v1".
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default/versions/v1`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] versions_id
|
||||
|
@ -424,8 +469,8 @@ module Google
|
|||
|
||||
# Lists the versions of a service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
||||
# services/default".
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] view
|
||||
|
@ -467,22 +512,23 @@ module Google
|
|||
|
||||
# Updates the specified Version resource. You can specify the following fields
|
||||
# depending on the App Engine environment and type of scaling that the version
|
||||
# resource uses: * [`serving_status`](/appengine/docs/admin-api/reference/rest/
|
||||
# v1beta5/apps.services.versions#Version.FIELDS.serving_status): For Version
|
||||
# resources that use basic scaling, manual scaling, or run in the App Engine
|
||||
# flexible environment. * [`instance_class`](/appengine/docs/admin-api/reference/
|
||||
# rest/v1beta5/apps.services.versions#Version.FIELDS.instance_class): For
|
||||
# Version resources that run in the App Engine standard environment. * [`
|
||||
# automatic_scaling.min_idle_instances`](/appengine/docs/admin-api/reference/
|
||||
# rest/v1beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
# Version resources that use automatic scaling and run in the App Engine
|
||||
# standard environment. * [`automatic_scaling.max_idle_instances`](/appengine/
|
||||
# docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
|
||||
# resource uses: * [`serving_status`](https://cloud.google.com/appengine/docs/
|
||||
# admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
|
||||
# serving_status): For Version resources that use basic scaling, manual scaling,
|
||||
# or run in the App Engine flexible environment. * [`instance_class`](https://
|
||||
# cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.
|
||||
# versions#Version.FIELDS.instance_class): For Version resources that run in the
|
||||
# App Engine standard environment. * [`automatic_scaling.min_idle_instances`](
|
||||
# https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.
|
||||
# services.versions#Version.FIELDS.automatic_scaling): For Version resources
|
||||
# that use automatic scaling and run in the App Engine standard environment. * [`
|
||||
# automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/
|
||||
# admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
|
||||
# automatic_scaling): For Version resources that use automatic scaling and run
|
||||
# in the App Engine standard environment.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
||||
# services/default/versions/1".
|
||||
# Part of `name`. Name of the resource to update. Example: `apps/myapp/services/
|
||||
# default/versions/1`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] versions_id
|
||||
|
@ -522,10 +568,90 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the instances of a version.
|
||||
# Stops a running instance.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. For example: "apps/myapp/
|
||||
# services/default/versions/v1".
|
||||
# services/default/versions/v1/instances/instance-1".
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] versions_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] instances_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @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::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1beta5::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 delete_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
||||
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.params['instancesId'] = instances_id unless instances_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
|
||||
|
||||
# Gets instance information.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default/versions/v1/instances/instance-1`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] versions_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] instances_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @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::Instance] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1beta5::Instance]
|
||||
#
|
||||
# @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_app_service_version_instance(apps_id, services_id, versions_id, instances_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1beta5::Instance::Representation
|
||||
command.response_class = Google::Apis::AppengineV1beta5::Instance
|
||||
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.params['instancesId'] = instances_id unless instances_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
|
||||
|
||||
# Lists the instances of a version.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default/versions/v1`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] versions_id
|
||||
|
@ -565,6 +691,126 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enables debugging on a VM instance. This allows you to use the SSH command to
|
||||
# connect to the virtual machine where the instance lives. While in "debug mode",
|
||||
# the instance continues to serve live traffic. You should delete the instance
|
||||
# when you are done debugging and then allow the system to take over and
|
||||
# determine if another instance should be started. Only applicable for instances
|
||||
# in App Engine flexible environment.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Name of the resource requested. Example: `apps/myapp/services/
|
||||
# default/versions/v1/instances/instance-1`.
|
||||
# @param [String] services_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] versions_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [String] instances_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @param [Google::Apis::AppengineV1beta5::DebugInstanceRequest] debug_instance_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::AppengineV1beta5::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1beta5::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 debug_instance(apps_id, services_id, versions_id, instances_id, debug_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug', options)
|
||||
command.request_representation = Google::Apis::AppengineV1beta5::DebugInstanceRequest::Representation
|
||||
command.request_object = debug_instance_request_object
|
||||
command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1beta5::Operation
|
||||
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.params['instancesId'] = instances_id unless instances_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
|
||||
|
||||
# Lists information about the supported locations for this service.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. The resource that owns the locations collection, if applicable.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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::ListLocationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1beta5::ListLocationsResponse]
|
||||
#
|
||||
# @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_locations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations', options)
|
||||
command.response_representation = Google::Apis::AppengineV1beta5::ListLocationsResponse::Representation
|
||||
command.response_class = Google::Apis::AppengineV1beta5::ListLocationsResponse
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['filter'] = filter unless filter.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
|
||||
|
||||
# Get information about a location.
|
||||
# @param [String] apps_id
|
||||
# Part of `name`. Resource name for the location.
|
||||
# @param [String] locations_id
|
||||
# Part of `name`. See documentation of `appsId`.
|
||||
# @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::Location] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AppengineV1beta5::Location]
|
||||
#
|
||||
# @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_app_location(apps_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta5/apps/{appsId}/locations/{locationsId}', options)
|
||||
command.response_representation = Google::Apis::AppengineV1beta5::Location::Representation
|
||||
command.response_class = Google::Apis::AppengineV1beta5::Location
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.params['locationsId'] = locations_id unless locations_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
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services/web/api/states
|
||||
module AppstateV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160628'
|
||||
REVISION = '20160802'
|
||||
|
||||
# View and manage your data for this application
|
||||
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20160629'
|
||||
REVISION = '20160729'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -174,6 +174,14 @@ module Google
|
|||
attr_accessor :ignore_unspecified_column_families
|
||||
alias_method :ignore_unspecified_column_families?, :ignore_unspecified_column_families
|
||||
|
||||
# [Optional] If field is true, then the rowkey column families will be read and
|
||||
# converted to string. Otherwise they are read with BYTES type values and users
|
||||
# need to manually cast them with CAST if necessary. The default value is false.
|
||||
# Corresponds to the JSON property `readRowkeyAsString`
|
||||
# @return [Boolean]
|
||||
attr_accessor :read_rowkey_as_string
|
||||
alias_method :read_rowkey_as_string?, :read_rowkey_as_string
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -182,6 +190,7 @@ module Google
|
|||
def update!(**args)
|
||||
@column_families = args[:column_families] if args.key?(:column_families)
|
||||
@ignore_unspecified_column_families = args[:ignore_unspecified_column_families] if args.key?(:ignore_unspecified_column_families)
|
||||
@read_rowkey_as_string = args[:read_rowkey_as_string] if args.key?(:read_rowkey_as_string)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -325,6 +334,17 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Experimental] The labels associated with this dataset. You can use these to
|
||||
# organize and group your datasets. You can set this property when inserting or
|
||||
# updating a dataset. Label keys and values can be no longer than 63 characters,
|
||||
# can only contain letters, numeric characters, underscores and dashes.
|
||||
# International characters are allowed. Label values are optional. Label keys
|
||||
# must start with a letter and must be unique within a dataset. Both keys and
|
||||
# values are additionally constrained to be <= 128 bytes in size.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# [Output-only] The date when this dataset or any of its tables was last
|
||||
# modified, in milliseconds since the epoch.
|
||||
# Corresponds to the JSON property `lastModifiedTime`
|
||||
|
@ -358,6 +378,7 @@ module Google
|
|||
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
||||
@location = args[:location] if args.key?(:location)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
|
@ -490,6 +511,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Experimental] The labels associated with this dataset. You can use these to
|
||||
# organize and group your datasets.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -500,6 +527,7 @@ module Google
|
|||
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -834,6 +862,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output-only, Experimental] The number of rows affected by a DML statement.
|
||||
# Present only for DML statements INSERT, UPDATE or DELETE.
|
||||
# Corresponds to the JSON property `numDmlAffectedRows`
|
||||
# @return [String]
|
||||
attr_accessor :num_dml_affected_rows
|
||||
|
||||
# A token used for paging results.
|
||||
# Corresponds to the JSON property `pageToken`
|
||||
# @return [String]
|
||||
|
@ -876,6 +910,7 @@ module Google
|
|||
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
||||
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
||||
@page_token = args[:page_token] if args.key?(:page_token)
|
||||
@rows = args[:rows] if args.key?(:rows)
|
||||
@schema = args[:schema] if args.key?(:schema)
|
||||
|
@ -1700,8 +1735,13 @@ module Google
|
|||
attr_accessor :cache_hit
|
||||
alias_method :cache_hit?, :cache_hit
|
||||
|
||||
# [Output-only, Experimental] Describes execution plan for the query as a list
|
||||
# of stages.
|
||||
# [Output-only, Experimental] The number of rows affected by a DML statement.
|
||||
# Present only for DML statements INSERT, UPDATE or DELETE.
|
||||
# Corresponds to the JSON property `numDmlAffectedRows`
|
||||
# @return [String]
|
||||
attr_accessor :num_dml_affected_rows
|
||||
|
||||
# [Output-only, Experimental] Describes execution plan for the query.
|
||||
# Corresponds to the JSON property `queryPlan`
|
||||
# @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
|
||||
attr_accessor :query_plan
|
||||
|
@ -1736,6 +1776,7 @@ module Google
|
|||
def update!(**args)
|
||||
@billing_tier = args[:billing_tier] if args.key?(:billing_tier)
|
||||
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
||||
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
||||
@query_plan = args[:query_plan] if args.key?(:query_plan)
|
||||
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)
|
||||
@schema = args[:schema] if args.key?(:schema)
|
||||
|
@ -2075,6 +2116,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output-only, Experimental] The number of rows affected by a DML statement.
|
||||
# Present only for DML statements INSERT, UPDATE or DELETE.
|
||||
# Corresponds to the JSON property `numDmlAffectedRows`
|
||||
# @return [String]
|
||||
attr_accessor :num_dml_affected_rows
|
||||
|
||||
# A token used for paging results.
|
||||
# Corresponds to the JSON property `pageToken`
|
||||
# @return [String]
|
||||
|
@ -2115,6 +2162,7 @@ module Google
|
|||
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
||||
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
||||
@page_token = args[:page_token] if args.key?(:page_token)
|
||||
@rows = args[:rows] if args.key?(:rows)
|
||||
@schema = args[:schema] if args.key?(:schema)
|
||||
|
|
|
@ -364,6 +364,7 @@ module Google
|
|||
collection :column_families, as: 'columnFamilies', class: Google::Apis::BigqueryV2::BigtableColumnFamily, decorator: Google::Apis::BigqueryV2::BigtableColumnFamily::Representation
|
||||
|
||||
property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies'
|
||||
property :read_rowkey_as_string, as: 'readRowkeyAsString'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -393,6 +394,7 @@ module Google
|
|||
property :friendly_name, as: 'friendlyName'
|
||||
property :id, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
hash :labels, as: 'labels'
|
||||
property :last_modified_time, as: 'lastModifiedTime'
|
||||
property :location, as: 'location'
|
||||
property :self_link, as: 'selfLink'
|
||||
|
@ -430,6 +432,7 @@ module Google
|
|||
property :friendly_name, as: 'friendlyName'
|
||||
property :id, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
hash :labels, as: 'labels'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -511,6 +514,7 @@ module Google
|
|||
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
||||
property :page_token, as: 'pageToken'
|
||||
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
||||
|
||||
|
@ -710,6 +714,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :billing_tier, as: 'billingTier'
|
||||
property :cache_hit, as: 'cacheHit'
|
||||
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
||||
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
|
||||
|
||||
collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
||||
|
@ -806,6 +811,7 @@ module Google
|
|||
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
||||
property :page_token, as: 'pageToken'
|
||||
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
||||
|
||||
|
|
|
@ -177,6 +177,12 @@ module Google
|
|||
# Project ID of the datasets to be listed
|
||||
# @param [Boolean] all
|
||||
# Whether to list all datasets, including hidden ones
|
||||
# @param [String] filter
|
||||
# An expression for filtering the results of the request by label. The syntax is
|
||||
# "labels.[:]". Multiple filters can be ANDed together by connecting with a
|
||||
# space. Example: "labels.department:receiving labels.active". See https://cloud.
|
||||
# google.com/bigquery/docs/labeling-datasets#filtering_datasets_using_labels for
|
||||
# details.
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results to return
|
||||
# @param [String] page_token
|
||||
|
@ -202,12 +208,13 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_datasets(project_id, all: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_datasets(project_id, all: nil, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'projects/{projectId}/datasets', options)
|
||||
command.response_representation = Google::Apis::BigqueryV2::DatasetList::Representation
|
||||
command.response_class = Google::Apis::BigqueryV2::DatasetList
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.query['all'] = all unless all.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||
module CalendarV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20160628'
|
||||
REVISION = '20160802'
|
||||
|
||||
# Manage your calendars
|
||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||
|
|
|
@ -20,12 +20,13 @@ module Google
|
|||
module Apis
|
||||
# Google Civic Information API
|
||||
#
|
||||
# An API for accessing civic information.
|
||||
# Provides polling places, early vote locations, contest data, election
|
||||
# officials, and government representatives for U.S. residential addresses.
|
||||
#
|
||||
# @see https://developers.google.com/civic-information
|
||||
module CivicinfoV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20150820'
|
||||
REVISION = '20160707'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -79,6 +79,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :absentee_voting_info_url
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `addressLines`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :address_lines
|
||||
|
||||
# A URL provided by this administrative body to give contest information to the
|
||||
# voter.
|
||||
# Corresponds to the JSON property `ballotInfoUrl`
|
||||
|
@ -151,6 +156,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@absentee_voting_info_url = args[:absentee_voting_info_url] if args.key?(:absentee_voting_info_url)
|
||||
@address_lines = args[:address_lines] if args.key?(:address_lines)
|
||||
@ballot_info_url = args[:ballot_info_url] if args.key?(:ballot_info_url)
|
||||
@correspondence_address = args[:correspondence_address] if args.key?(:correspondence_address)
|
||||
@election_info_url = args[:election_info_url] if args.key?(:election_info_url)
|
||||
|
|
|
@ -160,6 +160,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :absentee_voting_info_url, as: 'absenteeVotingInfoUrl'
|
||||
collection :address_lines, as: 'addressLines'
|
||||
property :ballot_info_url, as: 'ballotInfoUrl'
|
||||
property :correspondence_address, as: 'correspondenceAddress', class: Google::Apis::CivicinfoV2::SimpleAddressType, decorator: Google::Apis::CivicinfoV2::SimpleAddressType::Representation
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@ module Google
|
|||
module CivicinfoV2
|
||||
# Google Civic Information API
|
||||
#
|
||||
# An API for accessing civic information.
|
||||
# Provides polling places, early vote locations, contest data, election
|
||||
# officials, and government representatives for U.S. residential addresses.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/civicinfo_v2'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-builder/docs/
|
||||
module CloudbuildV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160706'
|
||||
REVISION = '20160808'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -127,6 +127,12 @@ module Google
|
|||
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
||||
attr_accessor :storage_source
|
||||
|
||||
# RepoSource describes the location of the source in a Google Cloud Source
|
||||
# Repository.
|
||||
# Corresponds to the JSON property `repoSource`
|
||||
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
||||
attr_accessor :repo_source
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -134,6 +140,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
||||
@repo_source = args[:repo_source] if args.key?(:repo_source)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -142,6 +149,18 @@ module Google
|
|||
class SourceProvenance
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# RepoSource describes the location of the source in a Google Cloud Source
|
||||
# Repository.
|
||||
# Corresponds to the JSON property `resolvedRepoSource`
|
||||
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
||||
attr_accessor :resolved_repo_source
|
||||
|
||||
# StorageSource describes the location of the source in an archive file in
|
||||
# Google Cloud Storage.
|
||||
# Corresponds to the JSON property `resolvedStorageSource`
|
||||
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
||||
attr_accessor :resolved_storage_source
|
||||
|
||||
# Hash(es) of the build source, which can be used to verify that the original
|
||||
# source integrity was maintained in the build. Note that FileHashes will
|
||||
# only be populated if BuildOptions has requested a SourceProvenanceHash.
|
||||
|
@ -160,6 +179,8 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
|
||||
@resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
|
||||
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
||||
end
|
||||
end
|
||||
|
@ -359,6 +380,11 @@ module Google
|
|||
# @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
|
||||
attr_accessor :images
|
||||
|
||||
# List of build step digests, in order corresponding to build step indices.
|
||||
# Corresponds to the JSON property `buildStepImages`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :build_step_images
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -366,6 +392,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@images = args[:images] if args.key?(:images)
|
||||
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -435,6 +462,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# URL to logs for this build in Google Cloud Logging.
|
||||
# @OutputOnly
|
||||
# Corresponds to the JSON property `logUrl`
|
||||
# @return [String]
|
||||
attr_accessor :log_url
|
||||
|
||||
# Customer-readable message about the current status.
|
||||
# @OutputOnly
|
||||
# Corresponds to the JSON property `statusDetail`
|
||||
|
@ -486,6 +519,7 @@ module Google
|
|||
@steps = args[:steps] if args.key?(:steps)
|
||||
@source = args[:source] if args.key?(:source)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@log_url = args[:log_url] if args.key?(:log_url)
|
||||
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
||||
@images = args[:images] if args.key?(:images)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
|
@ -552,31 +586,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# BuildStep describes a step to perform in the build pipeline.
|
||||
class BuildStep
|
||||
# RepoSource describes the location of the source in a Google Cloud Source
|
||||
# Repository.
|
||||
class RepoSource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Command-line arguments to use when running this step's container.
|
||||
# Corresponds to the JSON property `args`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :args
|
||||
|
||||
# Working directory (relative to project source root) to use when running
|
||||
# this operation's container.
|
||||
# Corresponds to the JSON property `dir`
|
||||
# Name of the repo. If omitted, the name "default" is assumed.
|
||||
# Corresponds to the JSON property `repoName`
|
||||
# @return [String]
|
||||
attr_accessor :dir
|
||||
attr_accessor :repo_name
|
||||
|
||||
# Name of the container image to use for creating this stage in the
|
||||
# pipeline, as presented to `docker pull`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# Name of the tag to build.
|
||||
# Corresponds to the JSON property `tagName`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
attr_accessor :tag_name
|
||||
|
||||
# Additional environment variables to set for this step's container.
|
||||
# Corresponds to the JSON property `env`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :env
|
||||
# ID of the project that owns the repo. If omitted, the project ID requesting
|
||||
# the build is assumed.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Name of the branch to build.
|
||||
# Corresponds to the JSON property `branchName`
|
||||
# @return [String]
|
||||
attr_accessor :branch_name
|
||||
|
||||
# Explicit commit SHA to build.
|
||||
# Corresponds to the JSON property `commitSha`
|
||||
# @return [String]
|
||||
attr_accessor :commit_sha
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
|
@ -584,10 +623,67 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@args = args[:args] if args.key?(:args)
|
||||
@dir = args[:dir] if args.key?(:dir)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
||||
@tag_name = args[:tag_name] if args.key?(:tag_name)
|
||||
@project_id = args[:project_id] if args.key?(:project_id)
|
||||
@branch_name = args[:branch_name] if args.key?(:branch_name)
|
||||
@commit_sha = args[:commit_sha] if args.key?(:commit_sha)
|
||||
end
|
||||
end
|
||||
|
||||
# BuildStep describes a step to perform in the build pipeline.
|
||||
class BuildStep
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional unique identifier for this build step, used in wait_for to
|
||||
# reference this build step as a dependency.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Additional environment variables to set for this step's container.
|
||||
# Corresponds to the JSON property `env`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :env
|
||||
|
||||
# The ID(s) of the step(s) that this build step depends on.
|
||||
# This build step will not start until all the build steps in wait_for
|
||||
# have completed successfully. If wait_for is empty, this build step will
|
||||
# start when all previous build steps in the Build.Steps list have completed
|
||||
# successfully.
|
||||
# Corresponds to the JSON property `waitFor`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :wait_for
|
||||
|
||||
# Command-line arguments to use when running this step's container.
|
||||
# Corresponds to the JSON property `args`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :args
|
||||
|
||||
# Name of the container image to use for creating this stage in the
|
||||
# pipeline, as presented to `docker pull`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Working directory (relative to project source root) to use when running
|
||||
# this operation's container.
|
||||
# Corresponds to the JSON property `dir`
|
||||
# @return [String]
|
||||
attr_accessor :dir
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@env = args[:env] if args.key?(:env)
|
||||
@wait_for = args[:wait_for] if args.key?(:wait_for)
|
||||
@args = args[:args] if args.key?(:args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@dir = args[:dir] if args.key?(:dir)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -100,6 +100,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RepoSource
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BuildStep
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -140,12 +146,18 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
||||
|
||||
property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class SourceProvenance
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
||||
|
||||
property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
|
||||
|
||||
hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
|
||||
|
||||
end
|
||||
|
@ -193,6 +205,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
|
||||
|
||||
collection :build_step_images, as: 'buildStepImages'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -214,6 +227,7 @@ module Google
|
|||
property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
|
||||
|
||||
property :create_time, as: 'createTime'
|
||||
property :log_url, as: 'logUrl'
|
||||
property :status_detail, as: 'statusDetail'
|
||||
collection :images, as: 'images'
|
||||
property :start_time, as: 'startTime'
|
||||
|
@ -245,13 +259,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class RepoSource
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :repo_name, as: 'repoName'
|
||||
property :tag_name, as: 'tagName'
|
||||
property :project_id, as: 'projectId'
|
||||
property :branch_name, as: 'branchName'
|
||||
property :commit_sha, as: 'commitSha'
|
||||
end
|
||||
end
|
||||
|
||||
class BuildStep
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :args, as: 'args'
|
||||
property :dir, as: 'dir'
|
||||
property :name, as: 'name'
|
||||
property :id, as: 'id'
|
||||
collection :env, as: 'env'
|
||||
collection :wait_for, as: 'waitFor'
|
||||
collection :args, as: 'args'
|
||||
property :name, as: 'name'
|
||||
property :dir, as: 'dir'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/v2beta2/
|
||||
module CloudmonitoringV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20160613'
|
||||
REVISION = '20160718'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20160628'
|
||||
REVISION = '20160726'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,7 +22,8 @@ module Google
|
|||
module Apis
|
||||
module ComputeBeta
|
||||
|
||||
# An access configuration attached to an instance's network interface.
|
||||
# An access configuration attached to an instance's network interface. Only one
|
||||
# access config per instance is supported.
|
||||
class AccessConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -414,7 +415,8 @@ module Google
|
|||
attr_accessor :mode
|
||||
|
||||
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
||||
# This field is only applicable for persistent disks.
|
||||
# This field is only applicable for persistent disks. Note that for
|
||||
# InstanceTemplate, it is just disk name, not URL for the disk.
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [String]
|
||||
attr_accessor :source
|
||||
|
@ -480,7 +482,8 @@ module Google
|
|||
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/
|
||||
# diskType
|
||||
# - projects/project/zones/zone/diskTypes/diskType
|
||||
# - zones/zone/diskTypes/diskType
|
||||
# - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the
|
||||
# name of the disk type, not URL.
|
||||
# Corresponds to the JSON property `diskType`
|
||||
# @return [String]
|
||||
attr_accessor :disk_type
|
||||
|
@ -955,6 +958,7 @@ module Google
|
|||
|
||||
# Specifies the balancing mode for this backend. For global HTTP(S) load
|
||||
# balancing, the default is UTILIZATION. Valid values are UTILIZATION and RATE.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `balancingMode`
|
||||
# @return [String]
|
||||
attr_accessor :balancing_mode
|
||||
|
@ -964,6 +968,7 @@ module Google
|
|||
# to 100% of its configured CPU or RPS (depending on balancingMode). A setting
|
||||
# of 0 means the group is completely drained, offering 0% of its available CPU
|
||||
# or RPS. Valid range is [0.0,1.0].
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `capacityScaler`
|
||||
# @return [Float]
|
||||
attr_accessor :capacity_scaler
|
||||
|
@ -981,6 +986,8 @@ module Google
|
|||
# Instance Group resource.
|
||||
# Note that you must specify an Instance Group resource using the fully-
|
||||
# qualified URL, rather than a partial URL.
|
||||
# When the BackendService has load balancing scheme INTERNAL, the instance group
|
||||
# must be in a zone within the same region as the BackendService.
|
||||
# Corresponds to the JSON property `group`
|
||||
# @return [String]
|
||||
attr_accessor :group
|
||||
|
@ -988,6 +995,7 @@ module Google
|
|||
# The max number of simultaneous connections for the group. Can be used with
|
||||
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
|
||||
# maxConnections or maxConnectionsPerInstance must be set.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxConnections`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_connections
|
||||
|
@ -996,6 +1004,7 @@ module Google
|
|||
# handle. This is used to calculate the capacity of the group. Can be used in
|
||||
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
|
||||
# maxConnections or maxConnectionsPerInstance must be set.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxConnectionsPerInstance`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_connections_per_instance
|
||||
|
@ -1003,6 +1012,7 @@ module Google
|
|||
# The max requests per second (RPS) of the group. Can be used with either RATE
|
||||
# or UTILIZATION balancing modes, but required if RATE mode. For RATE mode,
|
||||
# either maxRate or maxRatePerInstance must be set.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxRate`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_rate
|
||||
|
@ -1011,12 +1021,14 @@ module Google
|
|||
# This is used to calculate the capacity of the group. Can be used in either
|
||||
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
|
||||
# set.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxRatePerInstance`
|
||||
# @return [Float]
|
||||
attr_accessor :max_rate_per_instance
|
||||
|
||||
# Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization
|
||||
# target for the group. The default is 0.8. Valid range is [0.0, 1.0].
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxUtilization`
|
||||
# @return [Float]
|
||||
attr_accessor :max_utilization
|
||||
|
@ -1047,6 +1059,7 @@ module Google
|
|||
# Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set
|
||||
# to 0, the cookie is non-persistent and lasts only until the end of the browser
|
||||
# session (or equivalent). The maximum allowed value for TTL is one day.
|
||||
# When the load balancing scheme is INTERNAL, this field is not used.
|
||||
# Corresponds to the JSON property `affinityCookieTtlSec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :affinity_cookie_ttl_sec
|
||||
|
@ -1073,6 +1086,7 @@ module Google
|
|||
attr_accessor :description
|
||||
|
||||
# If true, enable Cloud CDN for this BackendService.
|
||||
# When the load balancing scheme is INTERNAL, this field is not used.
|
||||
# Corresponds to the JSON property `enableCDN`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_cdn
|
||||
|
@ -1089,6 +1103,8 @@ module Google
|
|||
# The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for
|
||||
# health checking this BackendService. Currently at most one health check can be
|
||||
# specified, and a health check is required.
|
||||
# For internal load balancing, a URL to a HealthCheck resource must be specified
|
||||
# instead.
|
||||
# Corresponds to the JSON property `healthChecks`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :health_checks
|
||||
|
@ -1117,18 +1133,23 @@ module Google
|
|||
|
||||
# Deprecated in favor of portName. The TCP port to connect on the backend. The
|
||||
# default value is 80.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :port
|
||||
|
||||
# Name of backend port. The same name should appear in the instance groups
|
||||
# referenced by this service. Required.
|
||||
# referenced by this service. Required when the load balancing scheme is
|
||||
# EXTERNAL.
|
||||
# When the load balancing scheme is INTERNAL, this field is not used.
|
||||
# Corresponds to the JSON property `portName`
|
||||
# @return [String]
|
||||
attr_accessor :port_name
|
||||
|
||||
# The protocol this BackendService uses to communicate with backends.
|
||||
# Possible values are HTTP, HTTPS, HTTP2, TCP and SSL.
|
||||
# Possible values are HTTP, HTTPS, HTTP2, TCP and SSL. The default is HTTP.
|
||||
# For internal load balancing, the possible values are TCP and UDP, and the
|
||||
# default is TCP.
|
||||
# Corresponds to the JSON property `protocol`
|
||||
# @return [String]
|
||||
attr_accessor :protocol
|
||||
|
@ -1144,7 +1165,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# Type of session affinity to use.
|
||||
# Type of session affinity to use. The default is NONE.
|
||||
# When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or
|
||||
# GENERATED_COOKIE.
|
||||
# When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP,
|
||||
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
||||
# When the protocol is UDP, this field is not used.
|
||||
# Corresponds to the JSON property `sessionAffinity`
|
||||
# @return [String]
|
||||
attr_accessor :session_affinity
|
||||
|
@ -1467,7 +1493,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :last_detach_timestamp
|
||||
|
||||
# [Output Only] Any applicable publicly visible licenses.
|
||||
# Any applicable publicly visible licenses.
|
||||
# Corresponds to the JSON property `licenses`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :licenses
|
||||
|
@ -2128,8 +2154,8 @@ module Google
|
|||
class Firewall
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of rules specified by this firewall. Each rule specifies a protocol
|
||||
# and port-range tuple that describes a permitted connection.
|
||||
# The list of ALLOW rules specified by this firewall. Each rule specifies a
|
||||
# protocol and port-range tuple that describes a permitted connection.
|
||||
# Corresponds to the JSON property `allowed`
|
||||
# @return [Array<Google::Apis::ComputeBeta::Firewall::Allowed>]
|
||||
attr_accessor :allowed
|
||||
|
@ -2184,24 +2210,25 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# The IP address blocks that this rule applies to, expressed in CIDR format. One
|
||||
# or both of sourceRanges and sourceTags may be set.
|
||||
# If both properties are set, an inbound connection is allowed if the range
|
||||
# matches the sourceRanges OR the tag of the source matches the sourceTags
|
||||
# property. The connection does not need to match both properties.
|
||||
# If source ranges are specified, the firewall will apply only to traffic that
|
||||
# has source IP address in these ranges. These ranges must be expressed in CIDR
|
||||
# format. One or both of sourceRanges and sourceTags may be set. If both
|
||||
# properties are set, the firewall will apply to traffic that has source IP
|
||||
# address within sourceRanges OR the source IP that belongs to a tag listed in
|
||||
# the sourceTags property. The connection does not need to match both properties
|
||||
# for the firewall to apply.
|
||||
# Corresponds to the JSON property `sourceRanges`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :source_ranges
|
||||
|
||||
# A list of instance tags which this rule applies to. One or both of
|
||||
# sourceRanges and sourceTags may be set.
|
||||
# If both properties are set, an inbound connection is allowed if the range
|
||||
# matches the sourceRanges OR the tag of the source matches the sourceTags
|
||||
# property. The connection does not need to match both properties.
|
||||
# Source tags cannot be used to allow access to an instance's external IP
|
||||
# address. Because tags are associated with an instance, not an IP address,
|
||||
# source tags can only be used to control traffic traveling from an instance
|
||||
# inside the same network as the firewall.
|
||||
# If source tags are specified, the firewall will apply only to traffic with
|
||||
# source IP that belongs to a tag listed in source tags. Source tags cannot be
|
||||
# used to control traffic to an instance's external IP address. Because tags are
|
||||
# associated with an instance, not an IP address. One or both of sourceRanges
|
||||
# and sourceTags may be set. If both properties are set, the firewall will apply
|
||||
# to traffic that has source IP address within sourceRanges OR the source IP
|
||||
# that belongs to a tag listed in the sourceTags property. The connection does
|
||||
# not need to match both properties for the firewall to apply.
|
||||
# Corresponds to the JSON property `sourceTags`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :source_tags
|
||||
|
@ -2237,17 +2264,17 @@ module Google
|
|||
class Allowed
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The IP protocol that is allowed for this rule. The protocol type is required
|
||||
# when creating a firewall rule. This value can either be one of the following
|
||||
# well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP
|
||||
# protocol number.
|
||||
# The IP protocol to which this rule applies. The protocol type is required when
|
||||
# creating a firewall rule. This value can either be one of the following well
|
||||
# known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol
|
||||
# number.
|
||||
# Corresponds to the JSON property `IPProtocol`
|
||||
# @return [String]
|
||||
attr_accessor :ip_protocol
|
||||
|
||||
# An optional list of ports which are allowed. This field is only applicable for
|
||||
# UDP or TCP protocol. Each entry must be either an integer or a range. If not
|
||||
# specified, connections through any port are allowed
|
||||
# An optional list of ports to which this rule applies. This field is only
|
||||
# applicable for UDP or TCP protocol. Each entry must be either an integer or a
|
||||
# range. If not specified, this rule applies to connections through any port.
|
||||
# Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
||||
# Corresponds to the JSON property `ports`
|
||||
# @return [Array<String>]
|
||||
|
@ -2320,17 +2347,23 @@ module Google
|
|||
class ForwardingRule
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Value of the reserved IP address that this forwarding rule is serving on
|
||||
# behalf of. For global forwarding rules, the address must be a global IP; for
|
||||
# regional forwarding rules, the address must live in the same region as the
|
||||
# forwarding rule. If left empty (default value), an ephemeral IP from the same
|
||||
# scope (global or regional) will be assigned.
|
||||
# The IP address that this forwarding rule is serving on behalf of.
|
||||
# For global forwarding rules, the address must be a global IP; for regional
|
||||
# forwarding rules, the address must live in the same region as the forwarding
|
||||
# rule. By default, this field is empty and an ephemeral IP from the same scope (
|
||||
# global or regional) will be assigned.
|
||||
# When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
|
||||
# address belonging to the network/subnetwork configured for the forwarding rule.
|
||||
# A reserved address cannot be used. If the field is empty, the IP address will
|
||||
# be automatically allocated from the internal IP range of the subnetwork or
|
||||
# network configured for this forwarding rule.
|
||||
# Corresponds to the JSON property `IPAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
|
||||
# AH, SCTP or ICMP.
|
||||
# When the load balancing scheme is INTERNAL</code, only TCP and UDP are valid.
|
||||
# Corresponds to the JSON property `IPProtocol`
|
||||
# @return [String]
|
||||
attr_accessor :ip_protocol
|
||||
|
@ -2371,6 +2404,7 @@ module Google
|
|||
# Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed
|
||||
# to ports in the specified range will be forwarded to target. Forwarding rules
|
||||
# with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
|
||||
# This field is not used for internal load balancing.
|
||||
# Corresponds to the JSON property `portRange`
|
||||
# @return [String]
|
||||
attr_accessor :port_range
|
||||
|
@ -2392,6 +2426,7 @@ module Google
|
|||
# TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of
|
||||
# a type appropriate to the target object. For example, TargetHttpProxy requires
|
||||
# HTTP traffic, and TargetHttpsProxy requires HTTPS traffic.
|
||||
# This field is not used for internal load balancing.
|
||||
# Corresponds to the JSON property `target`
|
||||
# @return [String]
|
||||
attr_accessor :target
|
||||
|
@ -2865,9 +2900,9 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :timeout_sec
|
||||
|
||||
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
|
||||
# If not specified, the default is TCP. Exactly one of the protocol-specific
|
||||
# health check field must be specified, which must match type field.
|
||||
# Specifies the type of the healthCheck, either TCP, UDP, SSL, HTTP, HTTPS or
|
||||
# HTTP2. If not specified, the default is TCP. Exactly one of the protocol-
|
||||
# specific health check field must be specified, which must match type field.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -3386,7 +3421,8 @@ module Google
|
|||
|
||||
# The name of the image family to which this image belongs. You can create disks
|
||||
# by specifying an image family instead of a specific image name. The image
|
||||
# family always returns its latest image that is not deprecated.
|
||||
# family always returns its latest image that is not deprecated. The name of the
|
||||
# image family must comply with RFC1035.
|
||||
# Corresponds to the JSON property `family`
|
||||
# @return [String]
|
||||
attr_accessor :family
|
||||
|
@ -3694,7 +3730,7 @@ module Google
|
|||
|
||||
# An array of configurations for this interface. This specifies how this
|
||||
# interface is configured to interact with other network services, such as
|
||||
# connecting to the internet.
|
||||
# connecting to the internet. Only one interface is supported per instance.
|
||||
# Corresponds to the JSON property `networkInterfaces`
|
||||
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
@ -4017,7 +4053,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An Instance Template Manager resource.
|
||||
# An Instance Group Manager resource.
|
||||
class InstanceGroupManager
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -4171,15 +4207,17 @@ module Google
|
|||
|
||||
# [Output Only] The number of instances in the managed instance group that are
|
||||
# scheduled to be created or are currently being created. If the group fails to
|
||||
# create one of these instances, it tries again until it creates the instance
|
||||
# create any of these instances, it tries again until it creates the instance
|
||||
# successfully.
|
||||
# If you have disabled creation retries, this field will not be populated;
|
||||
# instead, the creatingWithoutRetries field will be populated.
|
||||
# Corresponds to the JSON property `creating`
|
||||
# @return [Fixnum]
|
||||
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
|
||||
# the group fails to create any of these instances, it decreases the group's
|
||||
# target_size value accordingly.
|
||||
# Corresponds to the JSON property `creatingWithoutRetries`
|
||||
# @return [Fixnum]
|
||||
|
@ -4298,7 +4336,8 @@ module Google
|
|||
# autohealing policies to new instances or recently recreated instances. This
|
||||
# initial delay allows instances to initialize and run their startup scripts
|
||||
# before the instance group determines that they are UNHEALTHY. This prevents
|
||||
# the managed instance group from recreating its instances prematurely.
|
||||
# the managed instance group from recreating its instances prematurely. This
|
||||
# value must be from range [0, 3600].
|
||||
# Corresponds to the JSON property `initialDelaySec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :initial_delay_sec
|
||||
|
@ -4444,19 +4483,22 @@ module Google
|
|||
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.
|
||||
# If this flag is true, the managed instance group attempts to create all
|
||||
# instances initiated by this resize request only once. If there is an error
|
||||
# during creation, the managed instance group does not retry create this
|
||||
# instance, and we will decrease the targetSize of the request instead. If the
|
||||
# flag is false, the group attemps to recreate each instance continuously until
|
||||
# it succeeds.
|
||||
# This flag matters only in the first attempt of creation of an instance. After
|
||||
# an instance is successfully created while this flag is enabled, the instance
|
||||
# behaves the same way as all the other instances created with a regular resize
|
||||
# request. In particular, if a running instance dies unexpectedly at a later
|
||||
# time and needs to be recreated, this mode does not affect the recreation
|
||||
# behavior in that scenario.
|
||||
# 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.
|
||||
# You can see which instances is being creating in which mode by calling the get
|
||||
# or listManagedInstances API.
|
||||
# Corresponds to the JSON property `noCreationRetries`
|
||||
# @return [Boolean]
|
||||
attr_accessor :no_creation_retries
|
||||
|
@ -4667,8 +4709,8 @@ module Google
|
|||
class InstanceGroupsListInstances
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A unique identifier for this list of instance groups. The server
|
||||
# generates this identifier.
|
||||
# [Output Only] A unique identifier for this list of instances in the specified
|
||||
# instance group. The server generates this identifier.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
@ -4680,7 +4722,8 @@ module Google
|
|||
attr_accessor :items
|
||||
|
||||
# [Output Only] The resource type, which is always compute#
|
||||
# instanceGroupsListInstances for lists of instance groups.
|
||||
# instanceGroupsListInstances for the list of instances in the specified
|
||||
# instance group.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -4694,8 +4737,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] The URL for this list of instance groups. The server generates
|
||||
# this URL.
|
||||
# [Output Only] The URL for this list of instances in the specified instance
|
||||
# groups. The server generates this URL.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
@ -4985,6 +5028,12 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
|
||||
attr_accessor :disks
|
||||
|
||||
# Labels to apply to instances that are created from this template. Each label
|
||||
# key/value pair must comply with RFC1035. Label values may be empty.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The machine type to use for instances that are created from this template.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
|
@ -5026,6 +5075,7 @@ module Google
|
|||
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@disks = args[:disks] if args.key?(:disks)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
||||
|
@ -5707,7 +5757,7 @@ module Google
|
|||
# fails to create this instance, it will try again until it is successful.
|
||||
# - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create
|
||||
# this instance only once. If the group fails to create this instance, it does
|
||||
# not try again and the group's target_size value is decreased.
|
||||
# not try again and the group's targetSize value is decreased instead.
|
||||
# - RECREATING The managed instance group is recreating this instance.
|
||||
# - DELETING The managed instance group is permanently deleting this instance.
|
||||
# - ABANDONING The managed instance group is abandoning this instance. The
|
||||
|
@ -6018,8 +6068,8 @@ module Google
|
|||
class NetworkInterface
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An array of configurations for this interface. Currently, ONE_TO_ONE_NAT is
|
||||
# the only access config supported. If there are no accessConfigs specified,
|
||||
# An array of configurations for this interface. Currently, only one access
|
||||
# config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified,
|
||||
# then this instance will have no external internet access.
|
||||
# Corresponds to the JSON property `accessConfigs`
|
||||
# @return [Array<Google::Apis::ComputeBeta::AccessConfig>]
|
||||
|
@ -6870,6 +6920,393 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Contains a list of autoscalers.
|
||||
class RegionAutoscalerList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of autoscalers.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::Autoscaler>]
|
||||
attr_accessor :items
|
||||
|
||||
# Type of resource.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] A token used to continue a truncated list request.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
end
|
||||
end
|
||||
|
||||
# Contains a list of InstanceGroup resources.
|
||||
class RegionInstanceGroupList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of InstanceGroup resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::InstanceGroup>]
|
||||
attr_accessor :items
|
||||
|
||||
# The resource type.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] The URL for this resource type. The server generates this URL.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
end
|
||||
end
|
||||
|
||||
# Contains a list of managed instance groups.
|
||||
class RegionInstanceGroupManagerList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of managed instance groups.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::InstanceGroupManager>]
|
||||
attr_accessor :items
|
||||
|
||||
# [Output Only] The resource type, which is always compute#
|
||||
# instanceGroupManagerList for a list of managed instance groups that exist in
|
||||
# th regional scope.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output only] A token used to continue a truncated list request.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output only] The URL for this resource type. The server generates this URL.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupManagersAbandonInstancesRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The names of one or more instances to abandon.
|
||||
# Corresponds to the JSON property `instances`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instances
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instances = args[:instances] if args.key?(:instances)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupManagersDeleteInstancesRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The names of one or more instances to delete.
|
||||
# Corresponds to the JSON property `instances`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instances
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instances = args[:instances] if args.key?(:instances)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupManagersListInstancesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of managed instances.
|
||||
# Corresponds to the JSON property `managedInstances`
|
||||
# @return [Array<Google::Apis::ComputeBeta::ManagedInstance>]
|
||||
attr_accessor :managed_instances
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@managed_instances = args[:managed_instances] if args.key?(:managed_instances)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupManagersRecreateRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The URL for one or more instances to recreate.
|
||||
# Corresponds to the JSON property `instances`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instances
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instances = args[:instances] if args.key?(:instances)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupManagersSetAutoHealingRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `autoHealingPolicies`
|
||||
# @return [Array<Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy>]
|
||||
attr_accessor :auto_healing_policies
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupManagersSetTargetPoolsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Fingerprint of the target pools information, which is a hash of the contents.
|
||||
# This field is used for optimistic locking when you update the target pool
|
||||
# entries. This field is optional.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# The URL of all TargetPool resources to which instances in the instanceGroup
|
||||
# field are added. The target pools automatically apply to all of the instances
|
||||
# in the managed instance group.
|
||||
# Corresponds to the JSON property `targetPools`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :target_pools
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@target_pools = args[:target_pools] if args.key?(:target_pools)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupManagersSetTemplateRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# URL of the InstanceTemplate resource from which all new instances will be
|
||||
# created.
|
||||
# Corresponds to the JSON property `instanceTemplate`
|
||||
# @return [String]
|
||||
attr_accessor :instance_template
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupsListInstances
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Unique identifier for the resource. Defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of instances and any named ports that are assigned to those instances.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeBeta::InstanceWithNamedPorts>]
|
||||
attr_accessor :items
|
||||
|
||||
# The resource type.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for the resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupsListInstancesRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Instances in which state should be returned. Valid options are: 'ALL', '
|
||||
# RUNNING'. By default, it lists all instances.
|
||||
# Corresponds to the JSON property `instanceState`
|
||||
# @return [String]
|
||||
attr_accessor :instance_state
|
||||
|
||||
# Name of port user is interested in. It is optional. If it is set, only
|
||||
# information about this ports will be returned. If it is not set, all the named
|
||||
# ports will be returned. Always lists all instances.
|
||||
# Corresponds to the JSON property `portName`
|
||||
# @return [String]
|
||||
attr_accessor :port_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instance_state = args[:instance_state] if args.key?(:instance_state)
|
||||
@port_name = args[:port_name] if args.key?(:port_name)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RegionInstanceGroupsSetNamedPortsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The fingerprint of the named ports information for this instance group. Use
|
||||
# this optional property to prevent conflicts when multiple users change the
|
||||
# named ports settings concurrently. Obtain the fingerprint with the
|
||||
# instanceGroups.get method. Then, include the fingerprint in your request to
|
||||
# ensure that you do not overwrite changes that were applied from another
|
||||
# concurrent request.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# The list of named ports to set for this instance group.
|
||||
# Corresponds to the JSON property `namedPorts`
|
||||
# @return [Array<Google::Apis::ComputeBeta::NamedPort>]
|
||||
attr_accessor :named_ports
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
||||
end
|
||||
end
|
||||
|
||||
# Contains a list of region resources.
|
||||
class RegionList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -7189,12 +7626,14 @@ module Google
|
|||
class Router
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# BGP information specific to this router.
|
||||
# Corresponds to the JSON property `bgp`
|
||||
# @return [Google::Apis::ComputeBeta::RouterBgp]
|
||||
attr_accessor :bgp
|
||||
|
||||
#
|
||||
# BGP information that needs to be configured into the routing stack to
|
||||
# establish the BGP peering. It must specify peer ASN and either interface name,
|
||||
# IP, or peer IP. Please refer to RFC4273.
|
||||
# Corresponds to the JSON property `bgpPeers`
|
||||
# @return [Array<Google::Apis::ComputeBeta::RouterBgpPeer>]
|
||||
attr_accessor :bgp_peers
|
||||
|
@ -7216,7 +7655,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
#
|
||||
# Router interfaces. Each interface requires either one linked resource (e.g.
|
||||
# linkedVpnTunnel) or IP address and IP address range (e.g. ipRange).
|
||||
# Corresponds to the JSON property `interfaces`
|
||||
# @return [Array<Google::Apis::ComputeBeta::RouterInterface>]
|
||||
attr_accessor :interfaces
|
||||
|
@ -7340,9 +7780,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# BGP information that needs to be configured into the routing stack to
|
||||
# establish the BGP peering. It must specify peer ASN and either interface name,
|
||||
# IP, or peer IP. Reference: https://tools.ietf.org/html/rfc4273
|
||||
#
|
||||
class RouterBgpPeer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -7395,8 +7833,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Router interfaces. Each interface requires either one linked resource (e.g.
|
||||
# linked_vpn_tunnel) or IP address + range (specified in ip_range).
|
||||
#
|
||||
class RouterInterface
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -7610,6 +8047,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RoutersPreviewResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Router resource.
|
||||
# Corresponds to the JSON property `resource`
|
||||
# @return [Google::Apis::ComputeBeta::Router]
|
||||
attr_accessor :resource
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@resource = args[:resource] if args.key?(:resource)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RoutersScopedList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -868,6 +868,84 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionAutoscalerList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagerList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersAbandonInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersDeleteInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersListInstancesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersRecreateRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersSetAutoHealingRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersSetTargetPoolsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersSetTemplateRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupsListInstances
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupsListInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionInstanceGroupsSetNamedPortsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RegionList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -958,6 +1036,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RoutersPreviewResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RoutersScopedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2563,6 +2647,7 @@ module Google
|
|||
property :description, as: 'description'
|
||||
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::AttachedDisk, decorator: Google::Apis::ComputeBeta::AttachedDisk::Representation
|
||||
|
||||
hash :labels, as: 'labels'
|
||||
property :machine_type, as: 'machineType'
|
||||
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
||||
|
||||
|
@ -3040,6 +3125,123 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class RegionAutoscalerList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::Autoscaler, decorator: Google::Apis::ComputeBeta::Autoscaler::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceGroup, decorator: Google::Apis::ComputeBeta::InstanceGroup::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagerList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceGroupManager, decorator: Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersAbandonInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersDeleteInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersListInstancesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :managed_instances, as: 'managedInstances', class: Google::Apis::ComputeBeta::ManagedInstance, decorator: Google::Apis::ComputeBeta::ManagedInstance::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersRecreateRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersSetAutoHealingRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerAutoHealingPolicy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersSetTargetPoolsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
collection :target_pools, as: 'targetPools'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupManagersSetTemplateRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance_template, as: 'instanceTemplate'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupsListInstances
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceWithNamedPorts, decorator: Google::Apis::ComputeBeta::InstanceWithNamedPorts::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupsListInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance_state, as: 'instanceState'
|
||||
property :port_name, as: 'portName'
|
||||
end
|
||||
end
|
||||
|
||||
class RegionInstanceGroupsSetNamedPortsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class RegionList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -3221,6 +3423,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class RoutersPreviewResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :resource, as: 'resource', class: Google::Apis::ComputeBeta::Router, decorator: Google::Apis::ComputeBeta::Router::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class RoutersScopedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160628'
|
||||
REVISION = '20160726'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,7 +22,8 @@ module Google
|
|||
module Apis
|
||||
module ComputeV1
|
||||
|
||||
# An access configuration attached to an instance's network interface.
|
||||
# An access configuration attached to an instance's network interface. Only one
|
||||
# access config per instance is supported.
|
||||
class AccessConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -414,7 +415,8 @@ module Google
|
|||
attr_accessor :mode
|
||||
|
||||
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
||||
# This field is only applicable for persistent disks.
|
||||
# This field is only applicable for persistent disks. Note that for
|
||||
# InstanceTemplate, it is just disk name, not URL for the disk.
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [String]
|
||||
attr_accessor :source
|
||||
|
@ -475,7 +477,8 @@ module Google
|
|||
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/
|
||||
# diskType
|
||||
# - projects/project/zones/zone/diskTypes/diskType
|
||||
# - zones/zone/diskTypes/diskType
|
||||
# - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the
|
||||
# name of the disk type, not URL.
|
||||
# Corresponds to the JSON property `diskType`
|
||||
# @return [String]
|
||||
attr_accessor :disk_type
|
||||
|
@ -942,6 +945,7 @@ module Google
|
|||
|
||||
# Specifies the balancing mode for this backend. For global HTTP(S) load
|
||||
# balancing, the default is UTILIZATION. Valid values are UTILIZATION and RATE.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `balancingMode`
|
||||
# @return [String]
|
||||
attr_accessor :balancing_mode
|
||||
|
@ -951,6 +955,7 @@ module Google
|
|||
# to 100% of its configured CPU or RPS (depending on balancingMode). A setting
|
||||
# of 0 means the group is completely drained, offering 0% of its available CPU
|
||||
# or RPS. Valid range is [0.0,1.0].
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `capacityScaler`
|
||||
# @return [Float]
|
||||
attr_accessor :capacity_scaler
|
||||
|
@ -968,6 +973,8 @@ module Google
|
|||
# Instance Group resource.
|
||||
# Note that you must specify an Instance Group resource using the fully-
|
||||
# qualified URL, rather than a partial URL.
|
||||
# When the BackendService has load balancing scheme INTERNAL, the instance group
|
||||
# must be in a zone within the same region as the BackendService.
|
||||
# Corresponds to the JSON property `group`
|
||||
# @return [String]
|
||||
attr_accessor :group
|
||||
|
@ -975,6 +982,7 @@ module Google
|
|||
# The max requests per second (RPS) of the group. Can be used with either RATE
|
||||
# or UTILIZATION balancing modes, but required if RATE mode. For RATE mode,
|
||||
# either maxRate or maxRatePerInstance must be set.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxRate`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_rate
|
||||
|
@ -983,12 +991,14 @@ module Google
|
|||
# This is used to calculate the capacity of the group. Can be used in either
|
||||
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
|
||||
# set.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxRatePerInstance`
|
||||
# @return [Float]
|
||||
attr_accessor :max_rate_per_instance
|
||||
|
||||
# Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization
|
||||
# target for the group. The default is 0.8. Valid range is [0.0, 1.0].
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `maxUtilization`
|
||||
# @return [Float]
|
||||
attr_accessor :max_utilization
|
||||
|
@ -1014,6 +1024,14 @@ module Google
|
|||
class BackendService
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set
|
||||
# to 0, the cookie is non-persistent and lasts only until the end of the browser
|
||||
# session (or equivalent). The maximum allowed value for TTL is one day.
|
||||
# When the load balancing scheme is INTERNAL, this field is not used.
|
||||
# Corresponds to the JSON property `affinityCookieTtlSec`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :affinity_cookie_ttl_sec
|
||||
|
||||
# The list of backends that serve this BackendService.
|
||||
# Corresponds to the JSON property `backends`
|
||||
# @return [Array<Google::Apis::ComputeV1::Backend>]
|
||||
|
@ -1031,6 +1049,7 @@ module Google
|
|||
attr_accessor :description
|
||||
|
||||
# If true, enable Cloud CDN for this BackendService.
|
||||
# When the load balancing scheme is INTERNAL, this field is not used.
|
||||
# Corresponds to the JSON property `enableCDN`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_cdn
|
||||
|
@ -1047,6 +1066,8 @@ module Google
|
|||
# The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for
|
||||
# health checking this BackendService. Currently at most one health check can be
|
||||
# specified, and a health check is required.
|
||||
# For internal load balancing, a URL to a HealthCheck resource must be specified
|
||||
# instead.
|
||||
# Corresponds to the JSON property `healthChecks`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :health_checks
|
||||
|
@ -1075,18 +1096,23 @@ module Google
|
|||
|
||||
# Deprecated in favor of portName. The TCP port to connect on the backend. The
|
||||
# default value is 80.
|
||||
# This cannot be used for internal load balancing.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :port
|
||||
|
||||
# Name of backend port. The same name should appear in the instance groups
|
||||
# referenced by this service. Required.
|
||||
# referenced by this service. Required when the load balancing scheme is
|
||||
# EXTERNAL.
|
||||
# When the load balancing scheme is INTERNAL, this field is not used.
|
||||
# Corresponds to the JSON property `portName`
|
||||
# @return [String]
|
||||
attr_accessor :port_name
|
||||
|
||||
# The protocol this BackendService uses to communicate with backends.
|
||||
# Possible values are HTTP, HTTPS, HTTP2, TCP and SSL.
|
||||
# Possible values are HTTP, HTTPS, HTTP2, TCP and SSL. The default is HTTP.
|
||||
# For internal load balancing, the possible values are TCP and UDP, and the
|
||||
# default is TCP.
|
||||
# Corresponds to the JSON property `protocol`
|
||||
# @return [String]
|
||||
attr_accessor :protocol
|
||||
|
@ -1102,6 +1128,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# Type of session affinity to use. The default is NONE.
|
||||
# When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or
|
||||
# GENERATED_COOKIE.
|
||||
# When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP,
|
||||
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
||||
# When the protocol is UDP, this field is not used.
|
||||
# Corresponds to the JSON property `sessionAffinity`
|
||||
# @return [String]
|
||||
attr_accessor :session_affinity
|
||||
|
||||
# How many seconds to wait for the backend before considering it a failed
|
||||
# request. Default is 30 seconds.
|
||||
# Corresponds to the JSON property `timeoutSec`
|
||||
|
@ -1114,6 +1150,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@affinity_cookie_ttl_sec = args[:affinity_cookie_ttl_sec] if args.key?(:affinity_cookie_ttl_sec)
|
||||
@backends = args[:backends] if args.key?(:backends)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
|
@ -1128,6 +1165,7 @@ module Google
|
|||
@protocol = args[:protocol] if args.key?(:protocol)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
||||
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
||||
end
|
||||
end
|
||||
|
@ -1367,7 +1405,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :last_detach_timestamp
|
||||
|
||||
# [Output Only] Any applicable publicly visible licenses.
|
||||
# Any applicable publicly visible licenses.
|
||||
# Corresponds to the JSON property `licenses`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :licenses
|
||||
|
@ -2020,8 +2058,8 @@ module Google
|
|||
class Firewall
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of rules specified by this firewall. Each rule specifies a protocol
|
||||
# and port-range tuple that describes a permitted connection.
|
||||
# The list of ALLOW rules specified by this firewall. Each rule specifies a
|
||||
# protocol and port-range tuple that describes a permitted connection.
|
||||
# Corresponds to the JSON property `allowed`
|
||||
# @return [Array<Google::Apis::ComputeV1::Firewall::Allowed>]
|
||||
attr_accessor :allowed
|
||||
|
@ -2076,24 +2114,25 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# The IP address blocks that this rule applies to, expressed in CIDR format. One
|
||||
# or both of sourceRanges and sourceTags may be set.
|
||||
# If both properties are set, an inbound connection is allowed if the range
|
||||
# matches the sourceRanges OR the tag of the source matches the sourceTags
|
||||
# property. The connection does not need to match both properties.
|
||||
# If source ranges are specified, the firewall will apply only to traffic that
|
||||
# has source IP address in these ranges. These ranges must be expressed in CIDR
|
||||
# format. One or both of sourceRanges and sourceTags may be set. If both
|
||||
# properties are set, the firewall will apply to traffic that has source IP
|
||||
# address within sourceRanges OR the source IP that belongs to a tag listed in
|
||||
# the sourceTags property. The connection does not need to match both properties
|
||||
# for the firewall to apply.
|
||||
# Corresponds to the JSON property `sourceRanges`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :source_ranges
|
||||
|
||||
# A list of instance tags which this rule applies to. One or both of
|
||||
# sourceRanges and sourceTags may be set.
|
||||
# If both properties are set, an inbound connection is allowed if the range
|
||||
# matches the sourceRanges OR the tag of the source matches the sourceTags
|
||||
# property. The connection does not need to match both properties.
|
||||
# Source tags cannot be used to allow access to an instance's external IP
|
||||
# address. Because tags are associated with an instance, not an IP address,
|
||||
# source tags can only be used to control traffic traveling from an instance
|
||||
# inside the same network as the firewall.
|
||||
# If source tags are specified, the firewall will apply only to traffic with
|
||||
# source IP that belongs to a tag listed in source tags. Source tags cannot be
|
||||
# used to control traffic to an instance's external IP address. Because tags are
|
||||
# associated with an instance, not an IP address. One or both of sourceRanges
|
||||
# and sourceTags may be set. If both properties are set, the firewall will apply
|
||||
# to traffic that has source IP address within sourceRanges OR the source IP
|
||||
# that belongs to a tag listed in the sourceTags property. The connection does
|
||||
# not need to match both properties for the firewall to apply.
|
||||
# Corresponds to the JSON property `sourceTags`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :source_tags
|
||||
|
@ -2129,17 +2168,17 @@ module Google
|
|||
class Allowed
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The IP protocol that is allowed for this rule. The protocol type is required
|
||||
# when creating a firewall rule. This value can either be one of the following
|
||||
# well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP
|
||||
# protocol number.
|
||||
# The IP protocol to which this rule applies. The protocol type is required when
|
||||
# creating a firewall rule. This value can either be one of the following well
|
||||
# known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol
|
||||
# number.
|
||||
# Corresponds to the JSON property `IPProtocol`
|
||||
# @return [String]
|
||||
attr_accessor :ip_protocol
|
||||
|
||||
# An optional list of ports which are allowed. This field is only applicable for
|
||||
# UDP or TCP protocol. Each entry must be either an integer or a range. If not
|
||||
# specified, connections through any port are allowed
|
||||
# An optional list of ports to which this rule applies. This field is only
|
||||
# applicable for UDP or TCP protocol. Each entry must be either an integer or a
|
||||
# range. If not specified, this rule applies to connections through any port.
|
||||
# Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
||||
# Corresponds to the JSON property `ports`
|
||||
# @return [Array<String>]
|
||||
|
@ -2212,17 +2251,23 @@ module Google
|
|||
class ForwardingRule
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Value of the reserved IP address that this forwarding rule is serving on
|
||||
# behalf of. For global forwarding rules, the address must be a global IP; for
|
||||
# regional forwarding rules, the address must live in the same region as the
|
||||
# forwarding rule. If left empty (default value), an ephemeral IP from the same
|
||||
# scope (global or regional) will be assigned.
|
||||
# The IP address that this forwarding rule is serving on behalf of.
|
||||
# For global forwarding rules, the address must be a global IP; for regional
|
||||
# forwarding rules, the address must live in the same region as the forwarding
|
||||
# rule. By default, this field is empty and an ephemeral IP from the same scope (
|
||||
# global or regional) will be assigned.
|
||||
# When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
|
||||
# address belonging to the network/subnetwork configured for the forwarding rule.
|
||||
# A reserved address cannot be used. If the field is empty, the IP address will
|
||||
# be automatically allocated from the internal IP range of the subnetwork or
|
||||
# network configured for this forwarding rule.
|
||||
# Corresponds to the JSON property `IPAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
|
||||
# AH, SCTP or ICMP.
|
||||
# When the load balancing scheme is INTERNAL</code, only TCP and UDP are valid.
|
||||
# Corresponds to the JSON property `IPProtocol`
|
||||
# @return [String]
|
||||
attr_accessor :ip_protocol
|
||||
|
@ -2263,6 +2308,7 @@ module Google
|
|||
# Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed
|
||||
# to ports in the specified range will be forwarded to target. Forwarding rules
|
||||
# with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
|
||||
# This field is not used for internal load balancing.
|
||||
# Corresponds to the JSON property `portRange`
|
||||
# @return [String]
|
||||
attr_accessor :port_range
|
||||
|
@ -2284,6 +2330,7 @@ module Google
|
|||
# TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of
|
||||
# a type appropriate to the target object. For example, TargetHttpProxy requires
|
||||
# HTTP traffic, and TargetHttpsProxy requires HTTPS traffic.
|
||||
# This field is not used for internal load balancing.
|
||||
# Corresponds to the JSON property `target`
|
||||
# @return [String]
|
||||
attr_accessor :target
|
||||
|
@ -2930,7 +2977,8 @@ module Google
|
|||
|
||||
# The name of the image family to which this image belongs. You can create disks
|
||||
# by specifying an image family instead of a specific image name. The image
|
||||
# family always returns its latest image that is not deprecated.
|
||||
# family always returns its latest image that is not deprecated. The name of the
|
||||
# image family must comply with RFC1035.
|
||||
# Corresponds to the JSON property `family`
|
||||
# @return [String]
|
||||
attr_accessor :family
|
||||
|
@ -3202,7 +3250,7 @@ module Google
|
|||
|
||||
# An array of configurations for this interface. This specifies how this
|
||||
# interface is configured to interact with other network services, such as
|
||||
# connecting to the internet.
|
||||
# connecting to the internet. Only one interface is supported per instance.
|
||||
# Corresponds to the JSON property `networkInterfaces`
|
||||
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
@ -3517,7 +3565,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An Instance Template Manager resource.
|
||||
# An Instance Group Manager resource.
|
||||
class InstanceGroupManager
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -3651,8 +3699,10 @@ module Google
|
|||
|
||||
# [Output Only] The number of instances in the managed instance group that are
|
||||
# scheduled to be created or are currently being created. If the group fails to
|
||||
# create one of these instances, it tries again until it creates the instance
|
||||
# create any of these instances, it tries again until it creates the instance
|
||||
# successfully.
|
||||
# If you have disabled creation retries, this field will not be populated;
|
||||
# instead, the creatingWithoutRetries field will be populated.
|
||||
# Corresponds to the JSON property `creating`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :creating
|
||||
|
@ -4050,8 +4100,8 @@ module Google
|
|||
class InstanceGroupsListInstances
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A unique identifier for this list of instance groups. The server
|
||||
# generates this identifier.
|
||||
# [Output Only] A unique identifier for this list of instances in the specified
|
||||
# instance group. The server generates this identifier.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
@ -4063,7 +4113,8 @@ module Google
|
|||
attr_accessor :items
|
||||
|
||||
# [Output Only] The resource type, which is always compute#
|
||||
# instanceGroupsListInstances for lists of instance groups.
|
||||
# instanceGroupsListInstances for the list of instances in the specified
|
||||
# instance group.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
@ -4077,8 +4128,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] The URL for this list of instance groups. The server generates
|
||||
# this URL.
|
||||
# [Output Only] The URL for this list of instances in the specified instance
|
||||
# groups. The server generates this URL.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
@ -5088,7 +5139,7 @@ module Google
|
|||
# fails to create this instance, it will try again until it is successful.
|
||||
# - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create
|
||||
# this instance only once. If the group fails to create this instance, it does
|
||||
# not try again and the group's target_size value is decreased.
|
||||
# not try again and the group's targetSize value is decreased instead.
|
||||
# - RECREATING The managed instance group is recreating this instance.
|
||||
# - DELETING The managed instance group is permanently deleting this instance.
|
||||
# - ABANDONING The managed instance group is abandoning this instance. The
|
||||
|
@ -5399,8 +5450,8 @@ module Google
|
|||
class NetworkInterface
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An array of configurations for this interface. Currently, ONE_TO_ONE_NAT is
|
||||
# the only access config supported. If there are no accessConfigs specified,
|
||||
# An array of configurations for this interface. Currently, only one access
|
||||
# config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified,
|
||||
# then this instance will have no external internet access.
|
||||
# Corresponds to the JSON property `accessConfigs`
|
||||
# @return [Array<Google::Apis::ComputeV1::AccessConfig>]
|
||||
|
@ -6570,12 +6621,14 @@ module Google
|
|||
class Router
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# BGP information specific to this router.
|
||||
# Corresponds to the JSON property `bgp`
|
||||
# @return [Google::Apis::ComputeV1::RouterBgp]
|
||||
attr_accessor :bgp
|
||||
|
||||
#
|
||||
# BGP information that needs to be configured into the routing stack to
|
||||
# establish the BGP peering. It must specify peer ASN and either interface name,
|
||||
# IP, or peer IP. Please refer to RFC4273.
|
||||
# Corresponds to the JSON property `bgpPeers`
|
||||
# @return [Array<Google::Apis::ComputeV1::RouterBgpPeer>]
|
||||
attr_accessor :bgp_peers
|
||||
|
@ -6597,7 +6650,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
#
|
||||
# Router interfaces. Each interface requires either one linked resource (e.g.
|
||||
# linkedVpnTunnel) or IP address and IP address range (e.g. ipRange).
|
||||
# Corresponds to the JSON property `interfaces`
|
||||
# @return [Array<Google::Apis::ComputeV1::RouterInterface>]
|
||||
attr_accessor :interfaces
|
||||
|
@ -6721,9 +6775,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# BGP information that needs to be configured into the routing stack to
|
||||
# establish the BGP peering. It must specify peer ASN and either interface name,
|
||||
# IP, or peer IP. Reference: https://tools.ietf.org/html/rfc4273
|
||||
#
|
||||
class RouterBgpPeer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -6776,8 +6828,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Router interfaces. Each interface requires either one linked resource (e.g.
|
||||
# linked_vpn_tunnel) or IP address + range (specified in ip_range).
|
||||
#
|
||||
class RouterInterface
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -6991,6 +7042,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RoutersPreviewResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Router resource.
|
||||
# Corresponds to the JSON property `resource`
|
||||
# @return [Google::Apis::ComputeV1::Router]
|
||||
attr_accessor :resource
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@resource = args[:resource] if args.key?(:resource)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RoutersScopedList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -898,6 +898,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RoutersPreviewResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RoutersScopedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1508,6 +1514,7 @@ module Google
|
|||
class BackendService
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :affinity_cookie_ttl_sec, as: 'affinityCookieTtlSec'
|
||||
collection :backends, as: 'backends', class: Google::Apis::ComputeV1::Backend, decorator: Google::Apis::ComputeV1::Backend::Representation
|
||||
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
|
@ -1523,6 +1530,7 @@ module Google
|
|||
property :protocol, as: 'protocol'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :session_affinity, as: 'sessionAffinity'
|
||||
property :timeout_sec, as: 'timeoutSec'
|
||||
end
|
||||
end
|
||||
|
@ -2970,6 +2978,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class RoutersPreviewResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :resource, as: 'resource', class: Google::Apis::ComputeV1::Router, decorator: Google::Apis::ComputeV1::Router::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class RoutersScopedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20160602'
|
||||
REVISION = '20160728'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -2747,7 +2747,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :quantity
|
||||
|
||||
# The reason for the cancellation. Orders that are cancelled with a noIventory
|
||||
# The reason for the cancellation. Orders that are cancelled with a noInventory
|
||||
# reason will lead to the removal of the product from POG until you make an
|
||||
# update to that product. This will not affect your Shopping ads.
|
||||
# Corresponds to the JSON property `reason`
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/datastore/
|
||||
module DatastoreV1beta3
|
||||
VERSION = 'V1beta3'
|
||||
REVISION = '20160614'
|
||||
REVISION = '20160706'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20160624'
|
||||
REVISION = '20160731'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
# 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/dfareporting_v2_6/service.rb'
|
||||
require 'google/apis/dfareporting_v2_6/classes.rb'
|
||||
require 'google/apis/dfareporting_v2_6/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# DCM/DFA Reporting And Trafficking API
|
||||
#
|
||||
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
||||
#
|
||||
# @see https://developers.google.com/doubleclick-advertisers/
|
||||
module DfareportingV2_6
|
||||
VERSION = 'V2_6'
|
||||
REVISION = '20160803'
|
||||
|
||||
# Manage DoubleClick Digital Marketing conversions
|
||||
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
||||
|
||||
# View and manage DoubleClick for Advertisers reports
|
||||
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
||||
|
||||
# View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
|
||||
AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/bid-manager/
|
||||
module DoubleclickbidmanagerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160426'
|
||||
REVISION = '20160608'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/doubleclick-search/
|
||||
module DoubleclicksearchV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20160629'
|
||||
REVISION = '20160727'
|
||||
|
||||
# View and manage your advertising data in DoubleClick Search
|
||||
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20160627'
|
||||
REVISION = '20160801'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -137,7 +137,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :quota_type
|
||||
|
||||
# The number of remaining change ids.
|
||||
# The number of remaining change ids, limited to no more than 2500.
|
||||
# Corresponds to the JSON property `remainingChangeIds`
|
||||
# @return [String]
|
||||
attr_accessor :remaining_change_ids
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20160627'
|
||||
REVISION = '20160801'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/fit/rest/
|
||||
module FitnessV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160609'
|
||||
REVISION = '20160801'
|
||||
|
||||
# View your activity information in Google Fit
|
||||
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
||||
|
@ -44,6 +44,12 @@ module Google
|
|||
|
||||
# View and store your location data in Google Fit
|
||||
AUTH_FITNESS_LOCATION_WRITE = 'https://www.googleapis.com/auth/fitness.location.write'
|
||||
|
||||
# View nutrition information in Google Fit
|
||||
AUTH_FITNESS_NUTRITION_READ = 'https://www.googleapis.com/auth/fitness.nutrition.read'
|
||||
|
||||
# View and store nutrition information in Google Fit
|
||||
AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -151,6 +151,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :end_time_millis
|
||||
|
||||
# A list of acceptable data quality standards. Only data points which conform to
|
||||
# at least one of the specified data quality standards will be returned. If the
|
||||
# list is empty, all data points are returned.
|
||||
# Corresponds to the JSON property `filteredDataQualityStandard`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :filtered_data_quality_standard
|
||||
|
||||
# The start of a window of time. Data that intersects with this time window will
|
||||
# be aggregated. The time is in milliseconds since epoch, inclusive.
|
||||
# Corresponds to the JSON property `startTimeMillis`
|
||||
|
@ -169,6 +176,7 @@ module Google
|
|||
@bucket_by_session = args[:bucket_by_session] if args.key?(:bucket_by_session)
|
||||
@bucket_by_time = args[:bucket_by_time] if args.key?(:bucket_by_time)
|
||||
@end_time_millis = args[:end_time_millis] if args.key?(:end_time_millis)
|
||||
@filtered_data_quality_standard = args[:filtered_data_quality_standard] if args.key?(:filtered_data_quality_standard)
|
||||
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -184,6 +184,7 @@ module Google
|
|||
property :bucket_by_time, as: 'bucketByTime', class: Google::Apis::FitnessV1::BucketByTime, decorator: Google::Apis::FitnessV1::BucketByTime::Representation
|
||||
|
||||
property :end_time_millis, as: 'endTimeMillis'
|
||||
collection :filtered_data_quality_standard, as: 'filteredDataQualityStandard'
|
||||
property :start_time_millis, as: 'startTimeMillis'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -381,8 +381,8 @@ module Google
|
|||
# bit integers.
|
||||
# @param [Fixnum] limit
|
||||
# If specified, no more than this many data points will be included in the
|
||||
# dataset. If the there are more data points in the dataset, nextPageToken will
|
||||
# be set in the dataset response.
|
||||
# dataset. If there are more data points in the dataset, nextPageToken will be
|
||||
# set in the dataset response.
|
||||
# @param [String] page_token
|
||||
# The continuation token, which is used to page through large datasets. To get
|
||||
# the next page of a dataset, set this parameter to the value of nextPageToken
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services
|
||||
module GamesConfigurationV1configuration
|
||||
VERSION = 'V1configuration'
|
||||
REVISION = '20160628'
|
||||
REVISION = '20160802'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services
|
||||
module GamesManagementV1management
|
||||
VERSION = 'V1management'
|
||||
REVISION = '20160628'
|
||||
REVISION = '20160802'
|
||||
|
||||
# Share your Google+ profile information and view and manage your game activity
|
||||
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services/
|
||||
module GamesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160628'
|
||||
REVISION = '20160802'
|
||||
|
||||
# View and manage its own configuration data in your Google Drive
|
||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/genomics/
|
||||
module GenomicsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160627'
|
||||
REVISION = '20160803'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -2768,8 +2768,7 @@ module Google
|
|||
|
||||
# Only return variant calls which belong to call sets with these ids. Leaving
|
||||
# this blank returns all variant calls. If a variant has no calls belonging to
|
||||
# any of these call sets, it won't be returned at all. Currently, variants with
|
||||
# no calls from any call set will never be returned.
|
||||
# any of these call sets, it won't be returned at all.
|
||||
# Corresponds to the JSON property `callSetIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :call_set_ids
|
||||
|
|
|
@ -911,9 +911,8 @@ module Google
|
|||
# definitions of read group sets and other genomics resources, see [Fundamentals
|
||||
# of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
||||
# genomics) Note that currently there may be some differences between exported
|
||||
# BAM files and the original BAM file at the time of import. See [
|
||||
# ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) for
|
||||
# caveats.
|
||||
# BAM files and the original BAM file at the time of import. See
|
||||
# ImportReadGroupSets for caveats.
|
||||
# @param [String] read_group_set_id
|
||||
# Required. The ID of the read group set to export. The caller must have READ
|
||||
# access to this read group set.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/gmail/api/
|
||||
module GmailV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160627'
|
||||
REVISION = '20160803'
|
||||
|
||||
# View and manage your mail
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -975,10 +975,7 @@ module Google
|
|||
class PopSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The range of messages which are accessible via POP. Setting this to
|
||||
# FROM_NOW_ON causes any existing messages to become inaccessible and causes all
|
||||
# future messages to become accessible. Setting this to ALL_MAIL causes all
|
||||
# messages to become accessible, even if they have been fetched previously.
|
||||
# The range of messages which are accessible via POP.
|
||||
# Corresponds to the JSON property `accessWindow`
|
||||
# @return [String]
|
||||
attr_accessor :access_window
|
||||
|
@ -1055,9 +1052,9 @@ module Google
|
|||
# Whether this address is selected as the default "From:" address in situations
|
||||
# such as composing a new message or sending a vacation auto-reply. Every Gmail
|
||||
# account has exactly one default send-as address, so the only legal value that
|
||||
# clients may write to this field is `true`. Changing this from `false` to `true`
|
||||
# for an address will result in this field becoming `false` for the other
|
||||
# previous default address.
|
||||
# clients may write to this field is true. Changing this from false to true for
|
||||
# an address will result in this field becoming false for the other previous
|
||||
# default address.
|
||||
# Corresponds to the JSON property `isDefault`
|
||||
# @return [Boolean]
|
||||
attr_accessor :is_default
|
||||
|
@ -1225,8 +1222,8 @@ module Google
|
|||
|
||||
# An optional end time for sending auto-replies (epoch ms). When this is
|
||||
# specified, Gmail will automatically reply only to messages that it receives
|
||||
# before the end time. If both `startTime` and `endTime` are specified, `
|
||||
# startTime` must precede `endTime`.
|
||||
# before the end time. If both startTime and endTime are specified, startTime
|
||||
# must precede endTime.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
@ -1264,8 +1261,8 @@ module Google
|
|||
|
||||
# An optional start time for sending auto-replies (epoch ms). When this is
|
||||
# specified, Gmail will automatically reply only to messages that it receives
|
||||
# after the start time. If both `startTime` and `endTime` are specified, `
|
||||
# startTime` must precede `endTime`.
|
||||
# after the start time. If both startTime and endTime are specified, startTime
|
||||
# must precede endTime.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
|
|
@ -1700,8 +1700,8 @@ module Google
|
|||
|
||||
# Creates a forwarding address. If ownership verification is required, a message
|
||||
# will be sent to the recipient and the resource's verification status will be
|
||||
# set to `pending`; otherwise, the resource will be created with verification
|
||||
# status set to `accepted`.
|
||||
# set to pending; otherwise, the resource will be created with verification
|
||||
# status set to accepted.
|
||||
# @param [String] user_id
|
||||
# User's email address. The special value "me" can be used to indicate the
|
||||
# authenticated user.
|
||||
|
@ -1857,8 +1857,8 @@ module Google
|
|||
# attempt to connect to the SMTP service to validate the configuration before
|
||||
# creating the alias. If ownership verification is required for the alias, a
|
||||
# message will be sent to the email address and the resource's verification
|
||||
# status will be set to `pending`; otherwise, the resource will be created with
|
||||
# verification status set to `accepted`. If a signature is provided, Gmail will
|
||||
# status will be set to pending; otherwise, the resource will be created with
|
||||
# verification status set to accepted. If a signature is provided, Gmail will
|
||||
# sanitize the HTML before saving it with the alias.
|
||||
# @param [String] user_id
|
||||
# User's email address. The special value "me" can be used to indicate the
|
||||
|
@ -2101,7 +2101,7 @@ module Google
|
|||
end
|
||||
|
||||
# Sends a verification email to the specified send-as alias address. The
|
||||
# verification status must be `pending`.
|
||||
# verification status must be pending.
|
||||
# @param [String] user_id
|
||||
# User's email address. The special value "me" can be used to indicate the
|
||||
# authenticated user.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/identity-toolkit/v3/
|
||||
module IdentitytoolkitV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20160608'
|
||||
REVISION = '20160728'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -300,6 +300,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :continue_uri
|
||||
|
||||
# The hosted domain to restrict sign-in to accounts at that domain for Google
|
||||
# Apps hosted accounts.
|
||||
# Corresponds to the JSON property `hostedDomain`
|
||||
# @return [String]
|
||||
attr_accessor :hosted_domain
|
||||
|
||||
# The email or federated ID of the user.
|
||||
# Corresponds to the JSON property `identifier`
|
||||
# @return [String]
|
||||
|
@ -343,6 +349,7 @@ module Google
|
|||
@client_id = args[:client_id] if args.key?(:client_id)
|
||||
@context = args[:context] if args.key?(:context)
|
||||
@continue_uri = args[:continue_uri] if args.key?(:continue_uri)
|
||||
@hosted_domain = args[:hosted_domain] if args.key?(:hosted_domain)
|
||||
@identifier = args[:identifier] if args.key?(:identifier)
|
||||
@oauth_consumer_key = args[:oauth_consumer_key] if args.key?(:oauth_consumer_key)
|
||||
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
|
||||
|
@ -1850,6 +1857,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :refresh_token
|
||||
|
||||
# The screen_name of a Twitter user.
|
||||
# Corresponds to the JSON property `screenName`
|
||||
# @return [String]
|
||||
attr_accessor :screen_name
|
||||
|
||||
# The timezone of the user.
|
||||
# Corresponds to the JSON property `timeZone`
|
||||
# @return [String]
|
||||
|
@ -1899,6 +1911,7 @@ module Google
|
|||
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
||||
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
||||
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
||||
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
||||
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
||||
@verified_provider = args[:verified_provider] if args.key?(:verified_provider)
|
||||
end
|
||||
|
|
|
@ -315,6 +315,7 @@ module Google
|
|||
property :client_id, as: 'clientId'
|
||||
property :context, as: 'context'
|
||||
property :continue_uri, as: 'continueUri'
|
||||
property :hosted_domain, as: 'hostedDomain'
|
||||
property :identifier, as: 'identifier'
|
||||
property :oauth_consumer_key, as: 'oauthConsumerKey'
|
||||
property :oauth_scope, as: 'oauthScope'
|
||||
|
@ -683,6 +684,7 @@ module Google
|
|||
property :photo_url, as: 'photoUrl'
|
||||
property :provider_id, as: 'providerId'
|
||||
property :refresh_token, as: 'refreshToken'
|
||||
property :screen_name, as: 'screenName'
|
||||
property :time_zone, as: 'timeZone'
|
||||
collection :verified_provider, as: 'verifiedProvider'
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/api/
|
||||
module MonitoringV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20160620'
|
||||
REVISION = '20160804'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -196,12 +196,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Exemplar
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListGroupsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -364,8 +358,6 @@ module Google
|
|||
property :mean, as: 'mean'
|
||||
property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation
|
||||
|
||||
collection :exemplars, as: 'exemplars', class: Google::Apis::MonitoringV3::Exemplar, decorator: Google::Apis::MonitoringV3::Exemplar::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -511,15 +503,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Exemplar
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :value, as: 'value'
|
||||
collection :attachments, as: 'attachments'
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class ListGroupsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -48,14 +48,12 @@ module Google
|
|||
super('https://monitoring.googleapis.com/', '')
|
||||
end
|
||||
|
||||
# **Stackdriver Monitoring Agent only:** Creates a new time series.
|
||||
# <aside class="caution">This method is only for use by the Google Monitoring
|
||||
# Agent.
|
||||
# Use projects.timeSeries.create
|
||||
# instead.</aside>
|
||||
# Stackdriver Monitoring Agent only: Creates a new time series.<aside class="
|
||||
# caution">This method is only for use by the Google Monitoring Agent. Use
|
||||
# projects.timeSeries.create instead.</aside>
|
||||
# @param [String] name
|
||||
# The project in which to create the time series. The format is
|
||||
# `"projects/PROJECT_ID_OR_NUMBER"`.
|
||||
# The project in which to create the time series. The format is "projects/
|
||||
# PROJECT_ID_OR_NUMBER".
|
||||
# @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
|
@ -86,16 +84,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates an existing group.
|
||||
# You can change any group attributes except `name`.
|
||||
# Updates an existing group. You can change any group attributes except name.
|
||||
# @param [String] name
|
||||
# The name of this group.
|
||||
# The format is
|
||||
# `"projects/`project_id_or_number`/groups/`group_id`"`.
|
||||
# When creating a group, this field is ignored and a new name is created
|
||||
# consisting of the project specified in the call to `CreateGroup`
|
||||
# and a unique ``group_id`` that is generated automatically.
|
||||
# @OutputOnly
|
||||
# Output only. The name of this group. The format is "projects/`
|
||||
# project_id_or_number`/groups/`group_id`". When creating a group, this
|
||||
# field is ignored and a new name is created consisting of the project specified
|
||||
# in the call to CreateGroup and a unique `group_id` that is generated
|
||||
# automatically.
|
||||
# @param [Google::Apis::MonitoringV3::Group] group_object
|
||||
# @param [Boolean] validate_only
|
||||
# If true, validate this request but do not update the existing group.
|
||||
|
@ -131,8 +126,8 @@ module Google
|
|||
|
||||
# Gets a single group.
|
||||
# @param [String] name
|
||||
# The group to retrieve. The format is
|
||||
# `"projects/`project_id_or_number`/groups/`group_id`"`.
|
||||
# The group to retrieve. The format is "projects/`project_id_or_number`/
|
||||
# groups/`group_id`".
|
||||
# @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.
|
||||
|
@ -162,8 +157,8 @@ module Google
|
|||
|
||||
# Creates a new group.
|
||||
# @param [String] name
|
||||
# The project in which to create the group. The format is
|
||||
# `"projects/`project_id_or_number`"`.
|
||||
# The project in which to create the group. The format is "projects/`
|
||||
# project_id_or_number`".
|
||||
# @param [Google::Apis::MonitoringV3::Group] group_object
|
||||
# @param [Boolean] validate_only
|
||||
# If true, validate this request but do not create the group.
|
||||
|
@ -199,29 +194,29 @@ module Google
|
|||
|
||||
# Lists the existing groups.
|
||||
# @param [String] name
|
||||
# The project whose groups are to be listed. The format is
|
||||
# `"projects/`project_id_or_number`"`.
|
||||
# The project whose groups are to be listed. The format is "projects/`
|
||||
# project_id_or_number`".
|
||||
# @param [String] descendants_of_group
|
||||
# A group name: `"projects/`project_id_or_number`/groups/`group_id`"`.
|
||||
# Returns the descendants of the specified group. This is a superset of
|
||||
# the results returned by the `childrenOfGroup` filter, and includes
|
||||
# children-of-children, and so forth.
|
||||
# A group name: "projects/`project_id_or_number`/groups/`group_id`".
|
||||
# Returns the descendants of the specified group. This is a superset of the
|
||||
# results returned by the childrenOfGroup filter, and includes children-of-
|
||||
# children, and so forth.
|
||||
# @param [Fixnum] page_size
|
||||
# A positive number that is the maximum number of results to return.
|
||||
# @param [String] children_of_group
|
||||
# A group name: `"projects/`project_id_or_number`/groups/`group_id`"`.
|
||||
# Returns groups whose `parentName` field contains the group
|
||||
# name. If no groups have this parent, the results are empty.
|
||||
# A group name: "projects/`project_id_or_number`/groups/`group_id`".
|
||||
# Returns groups whose parentName field contains the group name. If no groups
|
||||
# have this parent, the results are empty.
|
||||
# @param [String] ancestors_of_group
|
||||
# A group name: `"projects/`project_id_or_number`/groups/`group_id`"`.
|
||||
# Returns groups that are ancestors of the specified group.
|
||||
# The groups are returned in order, starting with the immediate parent and
|
||||
# ending with the most distant ancestor. If the specified group has no
|
||||
# immediate parent, the results are empty.
|
||||
# A group name: "projects/`project_id_or_number`/groups/`group_id`".
|
||||
# Returns groups that are ancestors of the specified group. The groups are
|
||||
# returned in order, starting with the immediate parent and ending with the most
|
||||
# distant ancestor. If the specified group has no immediate parent, the results
|
||||
# are empty.
|
||||
# @param [String] page_token
|
||||
# If this field is not empty then it must contain the `nextPageToken` value
|
||||
# returned by a previous call to this method. Using this field causes the
|
||||
# method to return additional results from the previous method call.
|
||||
# If this field is not empty then it must contain the nextPageToken value
|
||||
# returned by a previous call to this method. Using this field causes the method
|
||||
# to return additional results from the previous method call.
|
||||
# @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.
|
||||
|
@ -256,8 +251,8 @@ module Google
|
|||
|
||||
# Deletes an existing group.
|
||||
# @param [String] name
|
||||
# The group to delete. The format is
|
||||
# `"projects/`project_id_or_number`/groups/`group_id`"`.
|
||||
# The group to delete. The format is "projects/`project_id_or_number`/
|
||||
# groups/`group_id`".
|
||||
# @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.
|
||||
|
@ -287,29 +282,26 @@ module Google
|
|||
|
||||
# Lists the monitored resources that are members of a group.
|
||||
# @param [String] name
|
||||
# The group whose members are listed. The format is
|
||||
# `"projects/`project_id_or_number`/groups/`group_id`"`.
|
||||
# The group whose members are listed. The format is "projects/`
|
||||
# project_id_or_number`/groups/`group_id`".
|
||||
# @param [String] filter
|
||||
# An optional [list filter](/monitoring/api/learn_more#filtering) describing
|
||||
# the members to be returned. The filter may reference the type, labels, and
|
||||
# metadata of monitored resources that comprise the group.
|
||||
# For example, to return only resources representing Compute Engine VM
|
||||
# instances, use this filter:
|
||||
# resource.type = "gce_instance"
|
||||
# An optional list filter (/monitoring/api/learn_more#filtering) describing the
|
||||
# members to be returned. The filter may reference the type, labels, and
|
||||
# metadata of monitored resources that comprise the group. For example, to
|
||||
# return only resources representing Compute Engine VM instances, use this
|
||||
# filter:
|
||||
# resource.type = "gce_instance"
|
||||
# @param [String] interval_end_time
|
||||
# Required. The end of the interval. The interval includes this
|
||||
# time.
|
||||
# Required. The end of the time interval.
|
||||
# @param [String] interval_start_time
|
||||
# If this value is omitted, the interval is a point in time,
|
||||
# `endTime`. If `startTime` is present, it must be earlier than
|
||||
# (less than) `endTime`. The interval begins after
|
||||
# `startTime`—it does not include `startTime`.
|
||||
# Optional. The beginning of the time interval. The default value for the start
|
||||
# time is the end time. The start time must not be later than the end time.
|
||||
# @param [Fixnum] page_size
|
||||
# A positive number that is the maximum number of results to return.
|
||||
# @param [String] page_token
|
||||
# If this field is not empty then it must contain the `nextPageToken` value
|
||||
# returned by a previous call to this method. Using this field causes the
|
||||
# method to return additional results from the previous method call.
|
||||
# If this field is not empty then it must contain the nextPageToken value
|
||||
# returned by a previous call to this method. Using this field causes the method
|
||||
# to return additional results from the previous method call.
|
||||
# @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.
|
||||
|
@ -345,10 +337,10 @@ module Google
|
|||
# Gets a single metric descriptor. This method does not require a Stackdriver
|
||||
# account.
|
||||
# @param [String] name
|
||||
# The metric descriptor on which to execute the request. The format is
|
||||
# `"projects/`project_id_or_number`/metricDescriptors/`metric_id`"`.
|
||||
# An example value of ``metric_id`` is
|
||||
# `"compute.googleapis.com/instance/disk/read_bytes_count"`.
|
||||
# The metric descriptor on which to execute the request. The format is "
|
||||
# projects/`project_id_or_number`/metricDescriptors/`metric_id`". An
|
||||
# example value of `metric_id` is "compute.googleapis.com/instance/disk/
|
||||
# read_bytes_count".
|
||||
# @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.
|
||||
|
@ -376,12 +368,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new metric descriptor.
|
||||
# User-created metric descriptors define
|
||||
# [custom metrics](/monitoring/custom-metrics).
|
||||
# Creates a new metric descriptor. User-created metric descriptors define custom
|
||||
# metrics (/monitoring/custom-metrics).
|
||||
# @param [String] name
|
||||
# The project on which to execute the request. The format is
|
||||
# `"projects/`project_id_or_number`"`.
|
||||
# The project on which to execute the request. The format is "projects/`
|
||||
# project_id_or_number`".
|
||||
# @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
|
@ -415,22 +406,20 @@ module Google
|
|||
# Lists metric descriptors that match a filter. This method does not require a
|
||||
# Stackdriver account.
|
||||
# @param [String] name
|
||||
# The project on which to execute the request. The format is
|
||||
# `"projects/`project_id_or_number`"`.
|
||||
# The project on which to execute the request. The format is "projects/`
|
||||
# project_id_or_number`".
|
||||
# @param [Fixnum] page_size
|
||||
# A positive number that is the maximum number of results to return.
|
||||
# @param [String] filter
|
||||
# If this field is empty, all custom and
|
||||
# system-defined metric descriptors are returned.
|
||||
# Otherwise, the [filter](/monitoring/api/v3/filters)
|
||||
# specifies which metric descriptors are to be
|
||||
# returned. For example, the following filter matches all
|
||||
# [custom metrics](/monitoring/custom-metrics):
|
||||
# metric.type = starts_with("custom.googleapis.com/")
|
||||
# If this field is empty, all custom and system-defined metric descriptors are
|
||||
# returned. Otherwise, the filter (/monitoring/api/v3/filters) specifies which
|
||||
# metric descriptors are to be returned. For example, the following filter
|
||||
# matches all custom metrics (/monitoring/custom-metrics):
|
||||
# metric.type = starts_with("custom.googleapis.com/")
|
||||
# @param [String] page_token
|
||||
# If this field is not empty then it must contain the `nextPageToken` value
|
||||
# returned by a previous call to this method. Using this field causes the
|
||||
# method to return additional results from the previous method call.
|
||||
# If this field is not empty then it must contain the nextPageToken value
|
||||
# returned by a previous call to this method. Using this field causes the method
|
||||
# to return additional results from the previous method call.
|
||||
# @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.
|
||||
|
@ -461,13 +450,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a metric descriptor. Only user-created
|
||||
# [custom metrics](/monitoring/custom-metrics) can be deleted.
|
||||
# Deletes a metric descriptor. Only user-created custom metrics (/monitoring/
|
||||
# custom-metrics) can be deleted.
|
||||
# @param [String] name
|
||||
# The metric descriptor on which to execute the request. The format is
|
||||
# `"projects/`project_id_or_number`/metricDescriptors/`metric_id`"`.
|
||||
# An example of ``metric_id`` is:
|
||||
# `"custom.googleapis.com/my_test_metric"`.
|
||||
# The metric descriptor on which to execute the request. The format is "
|
||||
# projects/`project_id_or_number`/metricDescriptors/`metric_id`". An
|
||||
# example of `metric_id` is: "custom.googleapis.com/my_test_metric".
|
||||
# @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.
|
||||
|
@ -495,13 +483,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates or adds data to one or more time series.
|
||||
# The response is empty if all time series in the request were written.
|
||||
# If any time series could not be written, a corresponding failure message is
|
||||
# included in the error response.
|
||||
# Creates or adds data to one or more time series. The response is empty if all
|
||||
# time series in the request were written. If any time series could not be
|
||||
# written, a corresponding failure message is included in the error response.
|
||||
# @param [String] name
|
||||
# The project on which to execute the request. The format is
|
||||
# `"projects/`project_id_or_number`"`.
|
||||
# The project on which to execute the request. The format is "projects/`
|
||||
# project_id_or_number`".
|
||||
# @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
|
@ -535,81 +522,65 @@ module Google
|
|||
# Lists time series that match a filter. This method does not require a
|
||||
# Stackdriver account.
|
||||
# @param [String] name
|
||||
# The project on which to execute the request. The format is
|
||||
# "projects/`project_id_or_number`".
|
||||
# The project on which to execute the request. The format is "projects/`
|
||||
# project_id_or_number`".
|
||||
# @param [String] filter
|
||||
# A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
|
||||
# series should be returned. The filter must specify a single metric type,
|
||||
# and can additionally specify metric labels and other information. For
|
||||
# example:
|
||||
# metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
|
||||
# metric.label.instance_name = "my-instance-name"
|
||||
# A monitoring filter (/monitoring/api/v3/filters) that specifies which time
|
||||
# series should be returned. The filter must specify a single metric type, and
|
||||
# can additionally specify metric labels and other information. For example:
|
||||
# metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
|
||||
# metric.label.instance_name = "my-instance-name"
|
||||
# @param [Array<String>, String] aggregation_group_by_fields
|
||||
# The set of fields to preserve when `crossSeriesReducer` is
|
||||
# specified. The `groupByFields` determine how the time series
|
||||
# are partitioned into subsets prior to applying the aggregation
|
||||
# function. Each subset contains time series that have the same
|
||||
# value for each of the grouping fields. Each individual time
|
||||
# series is a member of exactly one subset. The
|
||||
# `crossSeriesReducer` is applied to each subset of time series.
|
||||
# Fields not specified in `groupByFields` are aggregated away.
|
||||
# If `groupByFields` is not specified, the time series are
|
||||
# aggregated into a single output time series. If
|
||||
# `crossSeriesReducer` is not defined, this field is ignored.
|
||||
# The set of fields to preserve when crossSeriesReducer is specified. The
|
||||
# groupByFields determine how the time series are partitioned into subsets prior
|
||||
# to applying the aggregation function. Each subset contains time series that
|
||||
# have the same value for each of the grouping fields. Each individual time
|
||||
# series is a member of exactly one subset. The crossSeriesReducer is applied to
|
||||
# each subset of time series. Fields not specified in groupByFields are
|
||||
# aggregated away. If groupByFields is not specified, the time series are
|
||||
# aggregated into a single output time series. If crossSeriesReducer is not
|
||||
# defined, this field is ignored.
|
||||
# @param [String] aggregation_cross_series_reducer
|
||||
# The approach to be used to combine time series. Not all reducer
|
||||
# functions may be applied to all time series, depending on the
|
||||
# metric type and the value type of the original time
|
||||
# series. Reduction may change the metric type of value type of the
|
||||
# time series.
|
||||
# Time series data must be aligned in order to perform cross-time
|
||||
# series reduction. If `crossSeriesReducer` is specified, then
|
||||
# `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
|
||||
# and `alignmentPeriod` must be specified; otherwise, an error is
|
||||
# returned.
|
||||
# The approach to be used to combine time series. Not all reducer functions may
|
||||
# be applied to all time series, depending on the metric type and the value type
|
||||
# of the original time series. Reduction may change the metric type of value
|
||||
# type of the time series.Time series data must be aligned in order to perform
|
||||
# cross-time series reduction. If crossSeriesReducer is specified, then
|
||||
# perSeriesAligner must be specified and not equal ALIGN_NONE and
|
||||
# alignmentPeriod must be specified; otherwise, an error is returned.
|
||||
# @param [String] interval_end_time
|
||||
# Required. The end of the interval. The interval includes this
|
||||
# time.
|
||||
# Required. The end of the time interval.
|
||||
# @param [String] interval_start_time
|
||||
# If this value is omitted, the interval is a point in time,
|
||||
# `endTime`. If `startTime` is present, it must be earlier than
|
||||
# (less than) `endTime`. The interval begins after
|
||||
# `startTime`—it does not include `startTime`.
|
||||
# Optional. The beginning of the time interval. The default value for the start
|
||||
# time is the end time. The start time must not be later than the end time.
|
||||
# @param [Fixnum] page_size
|
||||
# A positive number that is the maximum number of results to return.
|
||||
# When `view` field sets to `FULL`, it limits the number of `Points` server
|
||||
# will return; if `view` field is `HEADERS`, it limits the number of
|
||||
# `TimeSeries` server will return.
|
||||
# A positive number that is the maximum number of results to return. When view
|
||||
# field sets to FULL, it limits the number of Points server will return; if view
|
||||
# field is HEADERS, it limits the number of TimeSeries server will return.
|
||||
# @param [String] view
|
||||
# Specifies which information is returned about the time series.
|
||||
# @param [String] aggregation_alignment_period
|
||||
# The alignment period for per-time series
|
||||
# alignment. If present, `alignmentPeriod` must be at least 60
|
||||
# seconds. After per-time series alignment, each time series will
|
||||
# contain data points only on the period boundaries. If
|
||||
# `perSeriesAligner` is not specified or equals `ALIGN_NONE`, then
|
||||
# this field is ignored. If `perSeriesAligner` is specified and
|
||||
# does not equal `ALIGN_NONE`, then this field must be defined;
|
||||
# otherwise an error is returned.
|
||||
# The alignment period for per-time series alignment. If present,
|
||||
# alignmentPeriod must be at least 60 seconds. After per-time series alignment,
|
||||
# each time series will contain data points only on the period boundaries. If
|
||||
# perSeriesAligner is not specified or equals ALIGN_NONE, then this field is
|
||||
# ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then
|
||||
# this field must be defined; otherwise an error is returned.
|
||||
# @param [String] aggregation_per_series_aligner
|
||||
# The approach to be used to align individual time series. Not all
|
||||
# alignment functions may be applied to all time series, depending
|
||||
# on the metric type and value type of the original time
|
||||
# series. Alignment may change the metric type or the value type of
|
||||
# the time series.
|
||||
# Time series data must be aligned in order to perform cross-time
|
||||
# series reduction. If `crossSeriesReducer` is specified, then
|
||||
# `perSeriesAligner` must be specified and not equal `ALIGN_NONE`
|
||||
# and `alignmentPeriod` must be specified; otherwise, an error is
|
||||
# returned.
|
||||
# The approach to be used to align individual time series. Not all alignment
|
||||
# functions may be applied to all time series, depending on the metric type and
|
||||
# value type of the original time series. Alignment may change the metric type
|
||||
# or the value type of the time series.Time series data must be aligned in order
|
||||
# to perform cross-time series reduction. If crossSeriesReducer is specified,
|
||||
# then perSeriesAligner must be specified and not equal ALIGN_NONE and
|
||||
# alignmentPeriod must be specified; otherwise, an error is returned.
|
||||
# @param [String] order_by
|
||||
# Specifies the order in which the points of the time series should
|
||||
# be returned. By default, results are not ordered. Currently,
|
||||
# this field must be left blank.
|
||||
# Specifies the order in which the points of the time series should be returned.
|
||||
# By default, results are not ordered. Currently, this field must be left blank.
|
||||
# @param [String] page_token
|
||||
# If this field is not empty then it must contain the `nextPageToken` value
|
||||
# returned by a previous call to this method. Using this field causes the
|
||||
# method to return additional results from the previous method call.
|
||||
# If this field is not empty then it must contain the nextPageToken value
|
||||
# returned by a previous call to this method. Using this field causes the method
|
||||
# to return additional results from the previous method call.
|
||||
# @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.
|
||||
|
@ -651,11 +622,9 @@ module Google
|
|||
# Gets a single monitored resource descriptor. This method does not require a
|
||||
# Stackdriver account.
|
||||
# @param [String] name
|
||||
# The monitored resource descriptor to get. The format is
|
||||
# `"projects/`project_id_or_number`/monitoredResourceDescriptors/`resource_type`"
|
||||
# `.
|
||||
# The ``resource_type`` is a predefined type, such as
|
||||
# `cloudsql_database`.
|
||||
# The monitored resource descriptor to get. The format is "projects/`
|
||||
# project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The `
|
||||
# resource_type` is a predefined type, such as cloudsql_database.
|
||||
# @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.
|
||||
|
@ -686,21 +655,20 @@ module Google
|
|||
# Lists monitored resource descriptors that match a filter. This method does not
|
||||
# require a Stackdriver account.
|
||||
# @param [String] name
|
||||
# The project on which to execute the request. The format is
|
||||
# `"projects/`project_id_or_number`"`.
|
||||
# The project on which to execute the request. The format is "projects/`
|
||||
# project_id_or_number`".
|
||||
# @param [Fixnum] page_size
|
||||
# A positive number that is the maximum number of results to return.
|
||||
# @param [String] filter
|
||||
# An optional [filter](/monitoring/api/v3/filters) describing
|
||||
# the descriptors to be returned. The filter can reference
|
||||
# the descriptor's type and labels. For example, the
|
||||
# following filter returns only Google Compute Engine descriptors
|
||||
# that have an `id` label:
|
||||
# resource.type = starts_with("gce_") AND resource.label:id
|
||||
# An optional filter (/monitoring/api/v3/filters) describing the descriptors to
|
||||
# be returned. The filter can reference the descriptor's type and labels. For
|
||||
# example, the following filter returns only Google Compute Engine descriptors
|
||||
# that have an id label:
|
||||
# resource.type = starts_with("gce_") AND resource.label:id
|
||||
# @param [String] page_token
|
||||
# If this field is not empty then it must contain the `nextPageToken` value
|
||||
# returned by a previous call to this method. Using this field causes the
|
||||
# method to return additional results from the previous method call.
|
||||
# If this field is not empty then it must contain the nextPageToken value
|
||||
# returned by a previous call to this method. Using this field causes the method
|
||||
# to return additional results from the previous method call.
|
||||
# @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.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/accounts/docs/OAuth2
|
||||
module Oauth2V2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20160624'
|
||||
REVISION = '20160729'
|
||||
|
||||
# Know the list of people in your circles, your age range, and language
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/+/domains/
|
||||
module PlusDomainsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160629'
|
||||
REVISION = '20160802'
|
||||
|
||||
# View your circles and the people and pages in them
|
||||
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/+/api/
|
||||
module PlusV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160629'
|
||||
REVISION = '20160802'
|
||||
|
||||
# Know the list of people in your circles, your age range, and language
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see http://developers.google.com/qpx-express
|
||||
module QpxExpressV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160307'
|
||||
REVISION = '20160708'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1165,6 +1165,11 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :solutions
|
||||
|
||||
# IATA country code representing the point of ticketing.
|
||||
# Corresponds to the JSON property `ticketingCountry`
|
||||
# @return [String]
|
||||
attr_accessor :ticketing_country
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1177,6 +1182,7 @@ module Google
|
|||
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
||||
@slice = args[:slice] if args.key?(:slice)
|
||||
@solutions = args[:solutions] if args.key?(:solutions)
|
||||
@ticketing_country = args[:ticketing_country] if args.key?(:ticketing_country)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -436,6 +436,7 @@ module Google
|
|||
collection :slice, as: 'slice', class: Google::Apis::QpxExpressV1::SliceInput, decorator: Google::Apis::QpxExpressV1::SliceInput::Representation
|
||||
|
||||
property :solutions, as: 'solutions'
|
||||
property :ticketing_country, as: 'ticketingCountry'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run
|
||||
module ScriptV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160426'
|
||||
REVISION = '20160801'
|
||||
|
||||
# View and manage your mail
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -245,6 +245,11 @@ module Google
|
|||
# @return [Object]
|
||||
attr_accessor :result
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -252,6 +257,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@result = args[:result] if args.key?(:result)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -111,6 +111,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :result, as: 'result'
|
||||
property :status, as: 'status'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/sheets/
|
||||
module SheetsV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20160623'
|
||||
REVISION = '20160804'
|
||||
|
||||
# View the files in your Google Drive
|
||||
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
||||
|
|
|
@ -1972,6 +1972,8 @@ module Google
|
|||
# The range the values cover, in A1 notation.
|
||||
# For output, this range indicates the entire requested range,
|
||||
# even though the values will exclude trailing rows and columns.
|
||||
# When appending values, this field represents the range to search for a
|
||||
# table, after which values will be appended.
|
||||
# Corresponds to the JSON property `range`
|
||||
# @return [String]
|
||||
attr_accessor :range
|
||||
|
@ -2047,6 +2049,39 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The response when updating a range of values in a spreadsheet.
|
||||
class AppendValuesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The spreadsheet the updates were applied to.
|
||||
# Corresponds to the JSON property `spreadsheetId`
|
||||
# @return [String]
|
||||
attr_accessor :spreadsheet_id
|
||||
|
||||
# The range (in A1 notation) of the table that values are being appended to
|
||||
# (before the values were appended).
|
||||
# Empty if no table was found.
|
||||
# Corresponds to the JSON property `tableRange`
|
||||
# @return [String]
|
||||
attr_accessor :table_range
|
||||
|
||||
# The response when updating a range of values in a spreadsheet.
|
||||
# Corresponds to the JSON property `updates`
|
||||
# @return [Google::Apis::SheetsV4::UpdateValuesResponse]
|
||||
attr_accessor :updates
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
|
||||
@table_range = args[:table_range] if args.key?(:table_range)
|
||||
@updates = args[:updates] if args.key?(:updates)
|
||||
end
|
||||
end
|
||||
|
||||
# The format of a cell.
|
||||
class CellFormat
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -316,6 +316,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AppendValuesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CellFormat
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1259,6 +1265,16 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AppendValuesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :spreadsheet_id, as: 'spreadsheetId'
|
||||
property :table_range, as: 'tableRange'
|
||||
property :updates, as: 'updates', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CellFormat
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -176,6 +176,61 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Appends values to a spreadsheet. The input range is used to search for
|
||||
# existing data and find a "table" within that range. Values will be
|
||||
# appended to the next row of the table, starting with the first column of
|
||||
# the table. See the
|
||||
# [guide](/sheets/guides/values#appending_values)
|
||||
# and
|
||||
# [sample code](/sheets/samples/writing#append_values)
|
||||
# for specific details of how tables are detected and data is appended.
|
||||
# The caller must specify the spreadsheet ID, range, and
|
||||
# a valueInputOption. The `valueInputOption` only
|
||||
# controls how the input data will be added to the sheet (column-wise or
|
||||
# row-wise), it does not influence what cell the data starts being written
|
||||
# to.
|
||||
# @param [String] spreadsheet_id
|
||||
# The ID of the spreadsheet to update.
|
||||
# @param [String] range
|
||||
# The A1 notation of a range to search for a logical table of data.
|
||||
# Values will be appended after the last row of the table.
|
||||
# @param [Google::Apis::SheetsV4::ValueRange] value_range_object
|
||||
# @param [String] value_input_option
|
||||
# How the input data should be interpreted.
|
||||
# @param [String] insert_data_option
|
||||
# How the input data should be inserted.
|
||||
# @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 [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SheetsV4::AppendValuesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SheetsV4::AppendValuesResponse]
|
||||
#
|
||||
# @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 append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options)
|
||||
command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
|
||||
command.request_object = value_range_object
|
||||
command.response_representation = Google::Apis::SheetsV4::AppendValuesResponse::Representation
|
||||
command.response_class = Google::Apis::SheetsV4::AppendValuesResponse
|
||||
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
||||
command.params['range'] = range unless range.nil?
|
||||
command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
|
||||
command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets values in a range of a spreadsheet.
|
||||
# The caller must specify the spreadsheet ID, range, and
|
||||
# a valueInputOption.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/sql/docs/reference/latest
|
||||
module SqladminV1beta4
|
||||
VERSION = 'V1beta4'
|
||||
REVISION = '20160630'
|
||||
REVISION = '20160712'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -105,6 +105,11 @@ module Google
|
|||
class BackupRun
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The description of this run, only applicable to on-demand backups.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# The time the backup operation completed in UTC timezone in RFC 3339 format,
|
||||
# for example 2012-11-15T16:19:00.094Z.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
|
@ -154,6 +159,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
# The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# The start time of the backup window during which this the backup was attempted
|
||||
# in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
|
||||
# Corresponds to the JSON property `windowStartTime`
|
||||
|
@ -166,6 +176,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time)
|
||||
@error = args[:error] if args.key?(:error)
|
||||
|
@ -175,6 +186,7 @@ module Google
|
|||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
@window_start_time = args[:window_start_time] if args.key?(:window_start_time)
|
||||
end
|
||||
end
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue